diff options
author | 2017-08-30 02:54:07 +0000 | |
---|---|---|
committer | 2017-08-30 02:54:07 +0000 | |
commit | dcce3f413ff42b83f4c750fa19bbdff930917988 (patch) | |
tree | fce71b1e1b3a0f19c68136294629757d7fecf2d3 | |
parent | Kill a useless setlocale() query (diff) | |
download | wireguard-openbsd-dcce3f413ff42b83f4c750fa19bbdff930917988.tar.xz wireguard-openbsd-dcce3f413ff42b83f4c750fa19bbdff930917988.zip |
Remove unused variable; no binary change.
From Michael W. Bombardieri, thanks!
-rw-r--r-- | usr.bin/lex/filter.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/lex/filter.c b/usr.bin/lex/filter.c index 558e038d2e6..22b3fccba07 100644 --- a/usr.bin/lex/filter.c +++ b/usr.bin/lex/filter.c @@ -1,4 +1,4 @@ -/* $OpenBSD: filter.c,v 1.8 2017/08/17 19:27:48 tedu Exp $ */ +/* $OpenBSD: filter.c,v 1.9 2017/08/30 02:54:07 lteo Exp $ */ /* filter - postprocessing of flex output through filters */ @@ -174,9 +174,7 @@ filter_apply_chain(struct filter * chain) /* run as a filter, either internally or by exec */ if (chain->filter_func) { - int r; - - if ((r = chain->filter_func(chain)) == -1) + if (chain->filter_func(chain) == -1) flexfatal(_("filter_func failed")); exit(0); } else { |