diff options
Diffstat (limited to 'read.c')
-rw-r--r-- | read.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1915,7 +1915,7 @@ record_files (struct nameseq *filenames, char *pattern, char *pattern_percent, the target pattern, the target's name and the dependencies' patterns into plain dependency names. */ - if (find_percent (this->name) != 0) + if (this != 0 && find_percent (this->name) != 0) { PATH_VAR (stem); char *o; |