diff options
author | Volker Lendecke <vl@samba.org> | 2010-02-13 17:42:24 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-02-13 17:47:43 +0100 |
commit | b00d223f87a35498e58ce87dafda7d01582a487f (patch) | |
tree | 2feddcbf4b74f3206d07d995c6aef6b9886bb45b | |
parent | 2ea2d2a81e0666f478c5daf1469c8447a3096e8e (diff) | |
download | samba-b00d223f87a35498e58ce87dafda7d01582a487f.tar.gz samba-b00d223f87a35498e58ce87dafda7d01582a487f.tar.bz2 samba-b00d223f87a35498e58ce87dafda7d01582a487f.zip |
s3: Fix Coverity ID 629: DEADCODE
We have already returned if (argc < 1) above
-rw-r--r-- | source3/utils/net_group.c | 3 |
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); } |