summaryrefslogtreecommitdiff
path: root/remake.c
diff options
context:
space:
mode:
Diffstat (limited to 'remake.c')
-rw-r--r--remake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remake.c b/remake.c
index 4cf8bd7..a70cbee 100644
--- a/remake.c
+++ b/remake.c
@@ -870,7 +870,7 @@ notice_finished_file (struct file *file)
really check the target's mtime again. Otherwise, assume the target
would have been updated. */
- if (question_flag || just_print_flag || touch_flag && file->cmds != 0)
+ if ((question_flag || just_print_flag || touch_flag) && file->cmds)
{
for (i = file->cmds->ncommand_lines; i > 0; --i)
if (! (file->cmds->lines_flags[i-1] & COMMANDS_RECURSE))