]> granicus.if.org Git - nethack/commitdiff
Remove left over NH_DEVEL_STATUS bits from makedefs.c
authorPatric Mueller <bhaak@gmx.net>
Wed, 19 Feb 2020 00:41:35 +0000 (01:41 +0100)
committerPatric Mueller <bhaak@gmx.net>
Wed, 19 Feb 2020 00:43:51 +0000 (01:43 +0100)
Left bits from previous version info code caused compilation errors
if NH_DEVEL_STATUS was not set to NH_STATUS_WIP.

util/makedefs.c

index 664cf6c62555e21b86b1d5d2b9d00260b638decc..4b48acbf4a2ae1b1b38cdc2d0df2465e6bfe9201 100644 (file)
@@ -1059,10 +1059,6 @@ rumors_failure:
     exit(EXIT_FAILURE);
 }
 
-#if (NH_DEVEL_STATUS == NH_STATUS_WIP)
-#else
-    Strcat(subbuf, " post-release");
-#endif
 void
 do_date()
 {
@@ -1269,7 +1265,7 @@ char *githash, *gitbranch;
             *strval++ = '\0';
             /* strip off the '\n' */
             if ((c = index(strval, '\n')) != 0)
-                *c = '\0'; 
+                *c = '\0';
             if ((c = index(opt, '\n')) != 0)
                 *c = '\0';
             /* strip leading and trailing white space */
@@ -1365,10 +1361,6 @@ windowing_sanity()
 #endif /*DEFAULT_WINDOW_SYS*/
 }
 
-#if (NH_DEVEL_STATUS == NH_STATUS_WIP)
-#else
-            " [post-release]"
-#endif
 /* routine to decide whether to discard something from data.base */
 static boolean
 d_filter(line)