status hilite bits
I noticed an unused array and missing ifdef in generic hilite code.
This commit is contained in:
+2
-1
@@ -1343,7 +1343,6 @@ const char *fieldnm[MAXBLSTATS];
|
|||||||
const char *fieldfmt[MAXBLSTATS];
|
const char *fieldfmt[MAXBLSTATS];
|
||||||
char *vals[MAXBLSTATS];
|
char *vals[MAXBLSTATS];
|
||||||
boolean activefields[MAXBLSTATS];
|
boolean activefields[MAXBLSTATS];
|
||||||
struct hilite_s hilites[MAXBLSTATS];
|
|
||||||
NEARDATA winid WIN_STATUS;
|
NEARDATA winid WIN_STATUS;
|
||||||
|
|
||||||
void
|
void
|
||||||
@@ -1386,6 +1385,7 @@ boolean enable;
|
|||||||
activefields[fieldidx] = enable;
|
activefields[fieldidx] = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# ifdef STATUS_HILITES
|
||||||
void
|
void
|
||||||
genl_status_threshold(fldidx, thresholdtype, threshold, behavior, under, over)
|
genl_status_threshold(fldidx, thresholdtype, threshold, behavior, under, over)
|
||||||
int fldidx,thresholdtype;
|
int fldidx,thresholdtype;
|
||||||
@@ -1394,6 +1394,7 @@ anything threshold;
|
|||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
|
# endif /* STATUS_HILITES */
|
||||||
|
|
||||||
void
|
void
|
||||||
genl_status_update(idx, ptr, chg, percent)
|
genl_status_update(idx, ptr, chg, percent)
|
||||||
|
|||||||
Reference in New Issue
Block a user