Remove left over NH_DEVEL_STATUS bits from makedefs.c

Left bits from previous version info code caused compilation errors
if NH_DEVEL_STATUS was not set to NH_STATUS_WIP.
This commit is contained in:
Patric Mueller
2020-02-19 01:41:35 +01:00
parent 8659dcd7bc
commit 16d32b3002

View 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)