aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2016-05-12 16:58:23 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2016-05-12 17:02:34 +0200
commit0eaa5b8e6c2b4ba5b5b88747d47a7bc125377faf (patch)
tree30e255f70d21f53c92f436d93078b366b6283e0a /lib
parent176e895bd6ec06fdf062fe39ca208a59e91d23a3 (diff)
gtp: fix several compilation warnings
CC gtpie.lo gtpie.c: In function 'gtpie_encaps': gtpie.c:437:22: warning: variable 'm' set but not used [-Wunused-but-set-variable] union gtpie_member *m; ^ gtpie.c: In function 'gtpie_encaps2': gtpie.c:537:22: warning: variable 'm' set but not used [-Wunused-but-set-variable] union gtpie_member *m; ^ lookup.c: In function ‘lookup’: lookup.c:40:24: warning: typedef ‘ub1’ locally defined but not used [-Wunused-local-typedefs] typedef unsigned char ub1; /* unsigned 1-byte quantities */ ^ Still one compilation warning left in cmdline.c, but that code is autogenerated.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/lookup.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/lookup.c b/lib/lookup.c
index d2f13c4..0dad247 100755
--- a/lib/lookup.c
+++ b/lib/lookup.c
@@ -37,7 +37,6 @@ register unsigned long int level; /* the previous hash, or an arbitrary value */
}
typedef unsigned long int ub4; /* unsigned 4-byte quantities */
- typedef unsigned char ub1; /* unsigned 1-byte quantities */
register unsigned long int a, b, c, len;
/* Set up the internal state */