From b89b7d4d12becdd3b19c18429a403a5b12d169c4 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Thu, 7 Mar 2002 04:03:21 +0000 Subject: argc == 0 is an impossible condition. (This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d) --- source3/rpcclient/rpcclient.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 7cb56fe5e4..68457e2b8f 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -574,7 +574,8 @@ static void usage(void) AllowDebugChange = False; /* Parse options */ - if (argc == 0) { + + if (argc == 1) { usage(); return 0; } -- cgit