From 789c444be410ac46ec7cd892882b7dd231f61221 Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Mon, 5 Nov 2012 23:33:15 +0100 Subject: Fix: Variable 'h' is reassigned a value before the old one has been use --- src/fingerprint.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/fingerprint.c b/src/fingerprint.c index 272c1b1..e17d83e 100644 --- a/src/fingerprint.c +++ b/src/fingerprint.c @@ -600,11 +600,10 @@ extern int fp_Create(void *handle, const char *buffer, uint4 bufsize, uint4 maxngrams) { sint4 i = 0; - fp_t *h = NULL; table_t *t = NULL; char *tmp = NULL; - h = (fp_t *) handle; + fp_t *h = (fp_t *) handle; if (bufsize < h->mindocsize) return 0; -- cgit v1.2.3