resolve a couple of build failures when STATUS_HILITES is not defined

This addresses the build failures but it is unknown
whether the logic remains sound.
This commit is contained in:
nhmall
2020-02-05 12:24:15 -05:00
parent c234f5a97d
commit 0673328696
2 changed files with 15 additions and 9 deletions

View File

@@ -96,11 +96,7 @@ struct window_procs safe_procs = {
safe_getmsghistory, safe_putmsghistory,
safe_status_init,
safe_status_finish, safe_status_enablefield,
#ifdef STATUS_HILITES
safe_status_update,
#else
safe_status_update,
#endif
safe_can_suspend,
};
@@ -495,7 +491,6 @@ boolean enable;
{
}
#ifdef STATUS_HILITES
/* call once for each field, then call with BL_FLUSH to output the result */
void
safe_status_update(idx, ptr, chg, percent, color, colormasks)
@@ -505,7 +500,6 @@ int chg UNUSED, percent UNUSED, color UNUSED;
unsigned long *colormasks UNUSED;
{
}
#endif /* STATUS_HILITES */
/**************************************************************
* These are some optionally selectable routines that add