aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/make-docfile.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib-src/make-docfile.c b/lib-src/make-docfile.c
index 85bcc8bc89c..9470bd635f5 100644
--- a/lib-src/make-docfile.c
+++ b/lib-src/make-docfile.c
@@ -224,11 +224,7 @@ put_filename (char *filename)
224 224
225 for (tmp = filename; *tmp; tmp++) 225 for (tmp = filename; *tmp; tmp++)
226 { 226 {
227 /* Use separate variable to silence a Clang warning on macOS. 227 if (IS_DIRECTORY_SEP (*tmp))
228 Clang takes offence of the additional set of parantheses
229 generated by the macro. */
230 bool is_sep = IS_DIRECTORY_SEP (*tmp);
231 if (is_sep)
232 filename = tmp + 1; 228 filename = tmp + 1;
233 } 229 }
234 230