diff options
author | ngie <ngie@FreeBSD.org> | 2015-11-19 00:25:58 +0000 |
---|---|---|
committer | ngie <ngie@FreeBSD.org> | 2015-11-19 00:25:58 +0000 |
commit | 55105c5c246d765a4cbb8ce13fc620bfc0cbdfba (patch) | |
tree | d984fd0664dab87202ffa6a378a72e1177b7059e /contrib/netbsd-tests/lib/libc/regex/debug.c | |
parent | 0e1eba29ebfb5b57e23cb68dcba44137c4b6eff3 (diff) | |
download | FreeBSD-src-55105c5c246d765a4cbb8ce13fc620bfc0cbdfba.zip FreeBSD-src-55105c5c246d765a4cbb8ce13fc620bfc0cbdfba.tar.gz |
MFC r290847:
Fix -Wunused warnings with variables used unlit code by adding appropriate #ifdef
guards around the variables
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'contrib/netbsd-tests/lib/libc/regex/debug.c')
-rw-r--r-- | contrib/netbsd-tests/lib/libc/regex/debug.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libc/regex/debug.c b/contrib/netbsd-tests/lib/libc/regex/debug.c index f1d2b15..fd2e467 100644 --- a/contrib/netbsd-tests/lib/libc/regex/debug.c +++ b/contrib/netbsd-tests/lib/libc/regex/debug.c @@ -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) { \ |