mirror of
https://github.com/samba-team/samba.git
synced 2025-07-22 16:59:09 +03:00
s3: Fix Coverity ID 2573: UNUSED_VALUE
Andrew B., please check!
This commit is contained in:
@ -293,9 +293,10 @@ char *libnetapi_errstr(NET_API_STATUS status)
|
||||
if (status & 0xc0000000) {
|
||||
ret = talloc_strdup(NULL,
|
||||
get_friendly_nt_error_msg(NT_STATUS(status)));
|
||||
} else {
|
||||
ret = talloc_strdup(NULL,
|
||||
get_friendly_werror_msg(W_ERROR(status)));
|
||||
}
|
||||
|
||||
ret = talloc_strdup(NULL, get_friendly_werror_msg(W_ERROR(status)));
|
||||
TALLOC_FREE(frame);
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user