lib/libc/regex: fix build with REDEBUG defined
Reviewed by: kevans Differential Revision: https://reviews.freebsd.org/D21760
This commit is contained in:
parent
6b0307a0a5
commit
6f79d636c5
@ -1068,7 +1068,7 @@ print(struct match *m,
|
||||
fprintf(d, " %s", pchar(ch));
|
||||
for (i = 0; i < g->nstates; i++)
|
||||
if (ISSET(st, i)) {
|
||||
fprintf(d, "%s%d", (first) ? "\t" : ", ", i);
|
||||
fprintf(d, "%s%lu", (first) ? "\t" : ", ", i);
|
||||
first = 0;
|
||||
}
|
||||
fprintf(d, "\n");
|
||||
|
@ -196,12 +196,6 @@ static char nuls[10]; /* place to point scanner in event of error */
|
||||
#define THERETHERE() (p->slen - 2)
|
||||
#define DROP(n) (p->slen -= (n))
|
||||
|
||||
#ifndef NDEBUG
|
||||
static int never = 0; /* for use in asserts; shuts lint up */
|
||||
#else
|
||||
#define never 0 /* some <assert.h>s have bugs too */
|
||||
#endif
|
||||
|
||||
/* Macro used by computejump()/computematchjump() */
|
||||
#define MIN(a,b) ((a)<(b)?(a):(b))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user