MFC r290847:
Fix -Wunused warnings with variables used unlit code by adding appropriate #ifdef guards around the variables Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
0e1eba29eb
commit
55105c5c24
@ -91,9 +91,11 @@ static struct gl_dir d[] = {
|
||||
{ "a/b", b, __arraycount(b), 0 },
|
||||
};
|
||||
|
||||
#ifndef __FreeBSD__
|
||||
static const char *glob_star[] = {
|
||||
"a/1", "a/3", "a/4", "a/b", "a/b/w", "a/b/x", "a/b/y", "a/b/z",
|
||||
};
|
||||
#endif
|
||||
|
||||
static const char *glob_star_not[] = {
|
||||
"a/1", "a/3", "a/4", "a/b",
|
||||
|
@ -126,11 +126,15 @@ static void
|
||||
s_print(struct re_guts *g, FILE *d)
|
||||
{
|
||||
sop *s;
|
||||
#ifdef __NetBSD__
|
||||
cset *cs;
|
||||
#endif
|
||||
int done = 0;
|
||||
sop opnd;
|
||||
int col = 0;
|
||||
#ifdef __NetBSD__
|
||||
ssize_t last;
|
||||
#endif
|
||||
sopno offset = 2;
|
||||
# define GAP() { if (offset % 5 == 0) { \
|
||||
if (col > 40) { \
|
||||
|
Loading…
x
Reference in New Issue
Block a user