top: eliminated unreferenced macros & an error message
Signed-off-by: Jim Warner <james.warner@comcast.net>
This commit is contained in:
parent
4ba9ff5c0d
commit
c75586f523
@ -3563,7 +3563,6 @@ try_inspect_entries:
|
||||
|
||||
if (fbuf[0] == '#' || fbuf[0] == '\n') continue;
|
||||
Inspect.tab = alloc_r(Inspect.tab, sizeof(struct I_ent) * (i + 1));
|
||||
p = fmtmk(N_fmt(YINSP_rcfile_fmt), i +1);
|
||||
|
||||
if (!(s = strtok(fbuf, "\t\n"))) { Rc_questions = 1; continue; }
|
||||
iT(type) = alloc_s(s);
|
||||
|
@ -451,12 +451,6 @@ typedef struct WIN_t {
|
||||
#define FLDget(q,i) ((FLG_t)((q)->rc.fieldscur[i] & 0x7f) - FLD_OFFSET)
|
||||
#define FLDtog(q,i) ((q)->rc.fieldscur[i] ^= 0x80)
|
||||
#define FLDviz(q,i) ((q)->rc.fieldscur[i] & 0x80)
|
||||
#define ENUchk(w,E) (NULL != strchr((w)->rc.fieldscur, (E + FLD_OFFSET) | 0x80))
|
||||
#define ENUset(w,E) do { char *t; \
|
||||
if ((t = strchr((w)->rc.fieldscur, E + FLD_OFFSET))) \
|
||||
*t = (E + FLD_OFFSET) | 0x80; \
|
||||
/* else fieldscur char already has high bit on! */ \
|
||||
} while (0)
|
||||
#define ENUviz(w,E) (NULL != memchr((w)->procflgs, E, (w)->maxpflgs))
|
||||
#define ENUpos(w,E) ((int)((FLG_t*)memchr((w)->pflgsall, E, (w)->totpflgs) - (w)->pflgsall))
|
||||
|
||||
|
@ -444,7 +444,6 @@ static void build_norm_nlstab (void) {
|
||||
Norm_nlstab[YINSP_failed_fmt] = _("Selection failed with: %s\n");
|
||||
Norm_nlstab[YINSP_pidbad_fmt] = _("unable to inspect, pid %d not found");
|
||||
Norm_nlstab[YINSP_pidsee_fmt] = _("inspect at PID [default pid = %d]");
|
||||
Norm_nlstab[YINSP_rcfile_fmt] = _("could not parse rcfile inspect entry %d");
|
||||
Norm_nlstab[YINSP_status_fmt] = _("%s: %*d-%-*d lines, %*d-%*d columns, %lu bytes read");
|
||||
Norm_nlstab[YINSP_workin_txt] = _("patience please, working...");
|
||||
/* Translation Hint: Below are 2 abbreviations which can be as long as needed:
|
||||
|
@ -90,7 +90,7 @@ enum norm_nls {
|
||||
YINSP_deqtyp_txt, YINSP_dstory_txt,
|
||||
#endif
|
||||
YINSP_failed_fmt, YINSP_noents_txt, YINSP_pidbad_fmt, YINSP_pidsee_fmt,
|
||||
YINSP_rcfile_fmt, YINSP_status_fmt, YINSP_workin_txt,
|
||||
YINSP_status_fmt, YINSP_workin_txt,
|
||||
norm_MAX
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user