]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r22155: Fixed warning #4498 from jason@ncac.gwu.edu.
authorJeremy Allison <jra@samba.org>
Tue, 10 Apr 2007 18:21:37 +0000 (18:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:19:17 +0000 (12:19 -0500)
Jeremy.

source/client/client.c

index 49c94eb56be79028f04320d013493e6891b84ad7..a4c75f2735e39aade6f0a3bc4eda85d17fe1c7ce 100644 (file)
@@ -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);
                                }