summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>2004-01-06 18:54:55 +0000
committernectar <nectar@FreeBSD.org>2004-01-06 18:54:55 +0000
commitf103cdb81d1c81ce0082d031421361b937f259fb (patch)
treeeaf40d971f4a2ad8c2d525e1604d5e6380c868af /usr.bin
parent34b6220e44d61a606965e4cc2c081fbab2e29eeb (diff)
downloadFreeBSD-src-f103cdb81d1c81ce0082d031421361b937f259fb.zip
FreeBSD-src-f103cdb81d1c81ce0082d031421361b937f259fb.tar.gz
Work around a `label defined but not used' warning in *generated* code.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/lex/gen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/lex/gen.c b/usr.bin/lex/gen.c
index 0e20544..7ccf4da 100644
--- a/usr.bin/lex/gen.c
+++ b/usr.bin/lex/gen.c
@@ -283,6 +283,8 @@ void gen_find_action()
indent_puts( "yy_lp = yy_accept[yy_current_state];" );
outn(
+ "goto find_rule; /* avoid `defined but not used' warning */");
+ outn(
"find_rule: /* we branch to this label when backing up */" );
indent_puts(
OpenPOWER on IntegriCloud