diff options
author | Volker Lendecke <vl@samba.org> | 2009-06-26 17:38:58 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-06-26 17:45:16 +0200 |
commit | 382a937800fe3618f8dd0fd17556b4643c96303b (patch) | |
tree | d2c19851acd97e80a6a350c0f2c57acbf326effc /source3/lib/netapi | |
parent | cfafe9b9a94e2600bfee3c8390a9350d7583524d (diff) | |
download | samba-382a937800fe3618f8dd0fd17556b4643c96303b.tar.gz samba-382a937800fe3618f8dd0fd17556b4643c96303b.tar.bz2 samba-382a937800fe3618f8dd0fd17556b4643c96303b.zip |
Fix some dead code warnings from SUN Studio
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/serverinfo.c | 4 | ||||
-rw-r--r-- | source3/lib/netapi/user.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/lib/netapi/serverinfo.c b/source3/lib/netapi/serverinfo.c index cbb9197c50..cc2ff52ab5 100644 --- a/source3/lib/netapi/serverinfo.c +++ b/source3/lib/netapi/serverinfo.c @@ -77,7 +77,7 @@ WERROR NetServerGetInfo_l(struct libnetapi_ctx *ctx, case 1005: return NetServerGetInfo_l_1005(ctx, r->out.buffer); default: - return WERR_UNKNOWN_LEVEL; + break; } return WERR_UNKNOWN_LEVEL; @@ -580,7 +580,7 @@ WERROR NetServerSetInfo_l(struct libnetapi_ctx *ctx, case 1005: return NetServerSetInfo_l_1005(ctx, r); default: - return WERR_UNKNOWN_LEVEL; + break; } return WERR_UNKNOWN_LEVEL; diff --git a/source3/lib/netapi/user.c b/source3/lib/netapi/user.c index 5fb6c203a7..39472b20d7 100644 --- a/source3/lib/netapi/user.c +++ b/source3/lib/netapi/user.c @@ -1474,10 +1474,10 @@ static WERROR convert_samr_dispinfo_to_NET_DISPLAY(TALLOC_CTX *mem_ctx, entries_read, buffer); default: - return WERR_UNKNOWN_LEVEL; + break; } - return WERR_OK; + return WERR_UNKNOWN_LEVEL; } /**************************************************************** |