summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-13 17:42:24 +0100
committerVolker Lendecke <vl@samba.org>2010-02-13 17:47:43 +0100
commitb00d223f87a35498e58ce87dafda7d01582a487f (patch)
tree2feddcbf4b74f3206d07d995c6aef6b9886bb45b /source3
parent2ea2d2a81e0666f478c5daf1469c8447a3096e8e (diff)
downloadsamba-b00d223f87a35498e58ce87dafda7d01582a487f.tar.gz
samba-b00d223f87a35498e58ce87dafda7d01582a487f.tar.bz2
samba-b00d223f87a35498e58ce87dafda7d01582a487f.zip
s3: Fix Coverity ID 629: DEADCODE
We have already returned if (argc < 1) above
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/net_group.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/utils/net_group.c b/source3/utils/net_group.c
index 1ead7861a0..7114f1feea 100644
--- a/source3/utils/net_group.c
+++ b/source3/utils/net_group.c
@@ -63,9 +63,6 @@ int net_group(struct net_context *c, int argc, const char **argv)
if (net_ads_check(c) == 0)
return net_ads_group(c, argc, argv);
- if (argc == 0 && net_rpc_check(c, NET_FLAGS_PDC))
- return net_rpc_group(c,argc, argv);
-
return net_rap_group(c, argc, argv);
}