Add parentheses to expressions like (c = *p++) as per suggestion

from gcc -Wall.
This commit is contained in:
Jim Meyering 1992-10-31 23:00:47 +00:00
parent 52d8f3c425
commit 37ff29b820

View File

@ -127,7 +127,7 @@ make_path (argpath, mode, parent_mode, owner, group, verbose_fmt_string)
slash = dirpath;
while (*slash == '/')
slash++;
while (slash = index (slash, '/'))
while ((slash = index (slash, '/')))
{
*slash = '\0';
if (stat (dirpath, &stats))