don't set i = 0, its never read

This commit is contained in:
Love Hörnquist Åstrand
2011-06-14 21:57:34 -07:00
parent 7dccddc6fb
commit 63565137d3

View File

@@ -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++;