From 63565137d3649bf3f2df7bd330b0cc496bd587c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 14 Jun 2011 21:57:34 -0700 Subject: [PATCH] don't set i = 0, its never read --- lib/roken/hex.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/roken/hex.c b/lib/roken/hex.c index 4b32eed75..c66b324f7 100644 --- a/lib/roken/hex.c +++ b/lib/roken/hex.c @@ -93,7 +93,6 @@ hex_decode(const char *str, void *data, size_t len) if ((l/2) + (l&1) > len) return -1; - i = 0; if (l & 1) { p[0] = pos(str[0]); str++;