From 26e411da187cbe2e67d334a9230f4836219c24e2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 31 Oct 1992 23:00:47 +0000 Subject: [PATCH] Add parentheses to expressions like (c = *p++) as per suggestion from gcc -Wall. --- lib/makepath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/makepath.c b/lib/makepath.c index 5c6112414c..98b78a1e65 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)) -- 2.30.2