From 7f66d5ce255b07d5ae0c35a95340d2401c6409bb Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Sat, 3 Sep 2005 12:37:44 +0000 Subject: r9993: Gcc is fussy about the lack of parentheses around assignment statements. (This used to be commit 908ba892598af83ae2fbe661d40e9f10ff3e34a0) --- source4/lib/cmdline/popt_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/lib') diff --git a/source4/lib/cmdline/popt_common.c b/source4/lib/cmdline/popt_common.c index d3bd0a35a4..333004e965 100644 --- a/source4/lib/cmdline/popt_common.c +++ b/source4/lib/cmdline/popt_common.c @@ -221,7 +221,7 @@ static void popt_common_credentials_callback(poptContext con, 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)); -- cgit