svn commit: samba r9993 - in branches/SAMBA_4_0/source/lib/cmdline:
.
tpot at samba.org
tpot at samba.org
Sat Sep 3 12:37:45 GMT 2005
Author: tpot
Date: 2005-09-03 12:37:44 +0000 (Sat, 03 Sep 2005)
New Revision: 9993
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=9993
Log:
Gcc is fussy about the lack of parentheses around assignment statements.
Modified:
branches/SAMBA_4_0/source/lib/cmdline/popt_common.c
Changeset:
Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_common.c
===================================================================
--- branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-09-03 12:35:50 UTC (rev 9992)
+++ branches/SAMBA_4_0/source/lib/cmdline/popt_common.c 2005-09-03 12:37:44 UTC (rev 9993)
@@ -221,7 +221,7 @@
cli_credentials_parse_string(cmdline_credentials, arg, CRED_SPECIFIED);
/* This breaks the abstraction, including the const above */
- if (lp=strchr_m(arg,'%')) {
+ if ((lp=strchr_m(arg,'%'))) {
lp[0]='\0';
lp++;
memset(lp,0,strlen(lp));
More information about the samba-cvs
mailing list