# HG changeset patch # User Matti Hamalainen # Date 1517785198 -7200 # Node ID 27365eae837b684ff0fb7e73809af7905f76b734 # Parent 5c8e9a1c25e47fa65e4cc0b8b289b0e758f975ed Cleanup. diff -r 5c8e9a1c25e4 -r 27365eae837b sidlib.c --- a/sidlib.c Thu Oct 26 01:47:19 2017 +0300 +++ b/sidlib.c Mon Feb 05 00:59:58 2018 +0200 @@ -335,8 +335,7 @@ } // Get hash value - pos = 0; - for (i = 0; i < TH_MD5HASH_LENGTH; i++, pos += 2) + for (pos = 0, i = 0; i < TH_MD5HASH_LENGTH; i++, pos += 2) { unsigned int tmpu; sscanf(&line[pos], "%2x", &tmpu);