diff options
author | Volker Lendecke <vl@samba.org> | 2011-03-16 21:34:44 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2011-03-16 22:07:24 +0100 |
commit | fb47b7fd67567fd84865e82bca91c1c32f36771f (patch) | |
tree | 285b8a143fb4dee876fce37b423daa28d8a16f44 | |
parent | dd3d6a160c54edbfbca708c2b17a61c7e39b3801 (diff) | |
download | samba-fb47b7fd67567fd84865e82bca91c1c32f36771f.tar.gz samba-fb47b7fd67567fd84865e82bca91c1c32f36771f.tar.bz2 samba-fb47b7fd67567fd84865e82bca91c1c32f36771f.zip |
s3: Fix Coverity ID 2140, DEADCODE
This routine was never executed after f0dcc90f because "netname" was always
NULL.
Jeremy, please check!
-rw-r--r-- | source3/smbd/lanman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 02ef033879..75ec100d79 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -2005,7 +2005,7 @@ static bool api_RNetShareGetInfo(struct smbd_server_connection *sconn, int uLevel = get_safe_SVAL(param,tpscnt,p,0,-1); int snum; - if (!str1 || !str2 || !netname || !p) { + if (!str1 || !str2 || !netname_in || !p) { return False; } |