diff --git a/lib/libc/regex/engine.c b/lib/libc/regex/engine.c index dc7f2a6761d9..a17629d8cb78 100644 --- a/lib/libc/regex/engine.c +++ b/lib/libc/regex/engine.c @@ -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;