diff options
author | Jim Meyering <jim@meyering.net> | 1992-10-31 23:00:47 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1992-10-31 23:00:47 +0000 |
commit | 37ff29b8201d00bb9209e387a427751c2dc5ee2c (patch) | |
tree | 914a8c4aeb2be3a52d1936e623aac175e3e0353d /lib/makepath.c | |
parent | 52d8f3c425679de813a0e58530564668e364361d (diff) | |
download | coreutils-37ff29b8201d00bb9209e387a427751c2dc5ee2c.tar.xz |
Add parentheses to expressions like (c = *p++) as per suggestion
from gcc -Wall.
Diffstat (limited to 'lib/makepath.c')
-rw-r--r-- | lib/makepath.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/makepath.c b/lib/makepath.c index 5c6112414..98b78a1e6 100644 --- a/lib/makepath.c +++ b/lib/makepath.c @@ -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)) |