1
0
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:
Volker Lendecke
2011-05-20 13:25:31 +02:00
parent f043babcbd
commit af9afe9f4f

View File

@ -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;
}