summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--file.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/file.c b/file.c
index 1668506..82e7442 100644
--- a/file.c
+++ b/file.c
@@ -21,6 +21,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "dep.h"
#include "file.h"
#include "variable.h"
+#include <assert.h>
/* Hash table of files the makefile knows how to make. */
@@ -497,6 +498,10 @@ print_file (f)
puts ("# Successfully updated.");
break;
case 1:
+ assert (question_flag);
+ puts ("# Needs to be updated (-q is set).");
+ break;
+ case 2:
puts ("# Failed to be updated.");
break;
default: