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:
+1
-9
@@ -1059,10 +1059,6 @@ rumors_failure:
|
|||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if (NH_DEVEL_STATUS == NH_STATUS_WIP)
|
|
||||||
#else
|
|
||||||
Strcat(subbuf, " post-release");
|
|
||||||
#endif
|
|
||||||
void
|
void
|
||||||
do_date()
|
do_date()
|
||||||
{
|
{
|
||||||
@@ -1269,7 +1265,7 @@ char *githash, *gitbranch;
|
|||||||
*strval++ = '\0';
|
*strval++ = '\0';
|
||||||
/* strip off the '\n' */
|
/* strip off the '\n' */
|
||||||
if ((c = index(strval, '\n')) != 0)
|
if ((c = index(strval, '\n')) != 0)
|
||||||
*c = '\0';
|
*c = '\0';
|
||||||
if ((c = index(opt, '\n')) != 0)
|
if ((c = index(opt, '\n')) != 0)
|
||||||
*c = '\0';
|
*c = '\0';
|
||||||
/* strip leading and trailing white space */
|
/* strip leading and trailing white space */
|
||||||
@@ -1365,10 +1361,6 @@ windowing_sanity()
|
|||||||
#endif /*DEFAULT_WINDOW_SYS*/
|
#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 */
|
/* routine to decide whether to discard something from data.base */
|
||||||
static boolean
|
static boolean
|
||||||
d_filter(line)
|
d_filter(line)
|
||||||
|
|||||||
Reference in New Issue
Block a user