From: Jeremy Allison Date: Tue, 10 Apr 2007 18:21:37 +0000 (+0000) Subject: r22155: Fixed warning #4498 from jason@ncac.gwu.edu. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~735 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f1b22c952719f004d7e33813c4d0f10514e1fff9;p=thirdparty%2Fsamba.git r22155: Fixed warning #4498 from jason@ncac.gwu.edu. Jeremy. --- diff --git a/source/client/client.c b/source/client/client.c index 49c94eb56be..a4c75f2735e 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -4020,13 +4020,13 @@ static int do_message_op(void) /* We must use old option processing for this. Find the * position of the -T option in the raw argv[]. */ { - int i, optnum; + int i; for (i = 1; i < argc; i++) { if (strncmp("-T", argv[i],2)==0) break; } i++; - if (!(optnum = tar_parseargs(argc, argv, poptGetOptArg(pc), i))) { + if (!tar_parseargs(argc, argv, poptGetOptArg(pc), i)) { poptPrintUsage(pc, stderr, 0); exit(1); }