Avoid string in assert expression. Some systems are broken.
authorRoland McGrath <roland@redhat.com>
Mon, 27 Mar 1995 10:28:35 +0000 (10:28 +0000)
committerRoland McGrath <roland@redhat.com>
Mon, 27 Mar 1995 10:28:35 +0000 (10:28 +0000)
main.c

diff --git a/main.c b/main.c
index 58b4bc1..13730cc 100644 (file)
--- 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: