mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-06 13:09:50 +00:00
stand: Fix set but unused warning
Make interp_identifier global to avoid a set but not used warning. For a global, llvm can't optimize it out (yet?) Sponsored by: Netflix
This commit is contained in:
parent
be54920c3b
commit
f4d71d0c1a
@ -39,6 +39,8 @@ __FBSDID("$FreeBSD$");
|
||||
|
||||
#define MAXARGS 20 /* maximum number of arguments allowed */
|
||||
|
||||
const char * volatile interp_identifier;
|
||||
|
||||
/*
|
||||
* Interactive mode
|
||||
*/
|
||||
@ -46,7 +48,6 @@ void
|
||||
interact(void)
|
||||
{
|
||||
static char input[256]; /* big enough? */
|
||||
const char * volatile interp_identifier;
|
||||
|
||||
TSENTER();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user