diff options
author | Gerald Carter <jerry@samba.org> | 2003-09-22 17:54:34 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-09-22 17:54:34 +0000 |
commit | 492072314b12f09b85353be971a0ab7d1329b179 (patch) | |
tree | facb3b9c2e4372935155440f49efc60bf1973c88 /source3/utils/net_groupmap.c | |
parent | 5b17f2a9e47fd57bd11db28abb48a71f8321c035 (diff) | |
download | samba-492072314b12f09b85353be971a0ab7d1329b179.tar.gz samba-492072314b12f09b85353be971a0ab7d1329b179.tar.bz2 samba-492072314b12f09b85353be971a0ab7d1329b179.zip |
fix some warnings found by the Sun C compiler
(This used to be commit 585764305aa84a7732f71f2e01227e1a6a08664f)
Diffstat (limited to 'source3/utils/net_groupmap.c')
-rw-r--r-- | source3/utils/net_groupmap.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/utils/net_groupmap.c b/source3/utils/net_groupmap.c index 323f4afbc3..06a8daa775 100644 --- a/source3/utils/net_groupmap.c +++ b/source3/utils/net_groupmap.c @@ -508,9 +508,8 @@ int net_groupmap(int argc, const char **argv) return -1; } - return net_run_function(argc, argv, func, net_help_groupmap); - if ( 0 == argc ) - return net_help_groupmap( argc, argv ); + if ( argc ) + return net_run_function(argc, argv, func, net_help_groupmap); return net_help_groupmap( argc, argv ); } |