svn commit: samba r22155 - in branches: SAMBA_3_0/source/client
SAMBA_3_0_25/source/client
jra at samba.org
jra at samba.org
Tue Apr 10 18:21:38 GMT 2007
Author: jra
Date: 2007-04-10 18:21:37 +0000 (Tue, 10 Apr 2007)
New Revision: 22155
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22155
Log:
Fixed warning #4498 from jason at ncac.gwu.edu.
Jeremy.
Modified:
branches/SAMBA_3_0/source/client/client.c
branches/SAMBA_3_0_25/source/client/client.c
Changeset:
Modified: branches/SAMBA_3_0/source/client/client.c
===================================================================
--- branches/SAMBA_3_0/source/client/client.c 2007-04-10 18:12:25 UTC (rev 22154)
+++ branches/SAMBA_3_0/source/client/client.c 2007-04-10 18:21:37 UTC (rev 22155)
@@ -4020,13 +4020,13 @@
/* 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);
}
Modified: branches/SAMBA_3_0_25/source/client/client.c
===================================================================
--- branches/SAMBA_3_0_25/source/client/client.c 2007-04-10 18:12:25 UTC (rev 22154)
+++ branches/SAMBA_3_0_25/source/client/client.c 2007-04-10 18:21:37 UTC (rev 22155)
@@ -3976,13 +3976,13 @@
/* 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);
}
More information about the samba-cvs
mailing list