]> mj.ucw.cz Git - libucw.git/commitdiff
KMP: removed possible compilation warning
authorPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 11 Mar 2008 09:47:56 +0000 (10:47 +0100)
committerPavel Charvat <pavel.charvat@netcentrum.cz>
Tue, 11 Mar 2008 09:47:56 +0000 (10:47 +0100)
lib/kmp.h

index 8c8c525448f148f5b7ab9495415752e6736e8d86..2c0633cd56333c64bff06e3dbc46940d9e382f20 100644 (file)
--- a/lib/kmp.h
+++ b/lib/kmp.h
@@ -214,7 +214,7 @@ P(hash_init_key) (struct P(hash_table) *t UNUSED, struct P(state) *s, struct P(s
 {
   bzero(s, sizeof(*s));
 # ifdef KMP_INIT_STATE
-  struct P(struct) *kmp = (struct P(struct) *)t;
+  UNUSED struct P(struct) *kmp = (struct P(struct) *)t;
   { KMP_INIT_STATE(kmp, s); }
 # endif
   s->from = f;