Author: tsoome Date: Sat Jul 14 09:29:45 2018 New Revision: 336274 URL: https://svnweb.freebsd.org/changeset/base/336274
Log: regex/engine.c: error: variable 'dp' set but not used The issue found with gcc6 build (originally on illumos, confirmed on FreeBSD). Mark it __unused. Differential Revision: https://reviews.freebsd.org/D13109 Modified: head/lib/libc/regex/engine.c Modified: head/lib/libc/regex/engine.c ============================================================================== --- head/lib/libc/regex/engine.c Sat Jul 14 09:11:32 2018 (r336273) +++ head/lib/libc/regex/engine.c Sat Jul 14 09:29:45 2018 (r336274) @@ -385,7 +385,7 @@ dissect(struct match *m, const char *ssp; /* start of string matched by subsubRE */ const char *sep; /* end of string matched by subsubRE */ const char *oldssp; /* previous ssp */ - const char *dp; + const char *dp __unused; AT("diss", start, stop, startst, stopst); sp = start; _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "[email protected]"
