No need to complicate make-docfile.c for Clang
* lib-src/make-docfile.c (put_filename): Undo recent change. The Clang false alarm occurs only with CFLAGS=-save-temps and we needn’t worry about pacifying unusual compiler configurations.
This commit is contained in:
parent
1ac8c9bb9b
commit
2b9620e6af
1 changed files with 1 additions and 5 deletions
|
@ -224,11 +224,7 @@ put_filename (char *filename)
|
|||
|
||||
for (tmp = filename; *tmp; tmp++)
|
||||
{
|
||||
/* Use separate variable to silence a Clang warning on macOS.
|
||||
Clang takes offence of the additional set of parantheses
|
||||
generated by the macro. */
|
||||
bool is_sep = IS_DIRECTORY_SEP (*tmp);
|
||||
if (is_sep)
|
||||
if (IS_DIRECTORY_SEP (*tmp))
|
||||
filename = tmp + 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue