mirror of
https://github.com/reactos/ccache.git
synced 2025-03-04 08:47:13 +00:00
Handle empty arguments correctly
This commit is contained in:
parent
df7d2dd5fa
commit
b554a73e69
2
ccache.c
2
ccache.c
@ -1124,7 +1124,7 @@ static void process_args(int argc, char **argv)
|
||||
}
|
||||
|
||||
/* these are too hard */
|
||||
if (argv[i][0] == '@' ||
|
||||
if (strncmp(argv[i], "@", 1) == 0 ||
|
||||
strcmp(argv[i], "-fbranch-probabilities") == 0 ||
|
||||
strcmp(argv[i], "--coverage") == 0 ||
|
||||
strcmp(argv[i], "-fprofile-arcs") == 0 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user