summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>1995-03-27 10:28:35 +0000
committerRoland McGrath <roland@redhat.com>1995-03-27 10:28:35 +0000
commitcb51d55ab2c1193aa39eff609cd49c2aeb1c727d (patch)
tree1db99836c6207ff4a4892ac87c9b0bcfd176ecf7
parent0b4723a689f1682c85b3d0c37273af7f5c3ecf11 (diff)
downloadgunmake-cb51d55ab2c1193aa39eff609cd49c2aeb1c727d.tar.gz
Avoid string in assert expression. Some systems are broken.
-rw-r--r--main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/main.c b/main.c
index 58b4bc1..13730cc 100644
--- a/main.c
+++ b/main.c
@@ -925,9 +925,9 @@ main (argc, argv, envp)
switch (update_goal_chain (read_makefiles, 1))
{
case 1:
- assert ("Status indicates -q set while remaking makefiles!");
default:
- assert ("bogus status from update_goal_chain");
+#define BOGUS_UPDATE_STATUS 1
+ assert (BOGUS_UPDATE_STATUS);
break;
case -1: