util: fix unused at present reverse_hex

This commit is contained in:
Jethro Grassie 2018-08-25 09:28:41 -04:00
parent fb38e559dd
commit ebf0be3f4e
No known key found for this signature in database
GPG key ID: DE8ED755616565BB

View file

@ -71,7 +71,7 @@ reverse_hex(char *hex, size_t len)
{
assert(len % 2 == 0);
size_t start = 0;
size_t end = len-1;
size_t end = len-2;
char temp[2];
while (start < end)
{