changeset 160:27365eae837b

Cleanup.
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 05 Feb 2018 00:59:58 +0200
parents 5c8e9a1c25e4
children 58fe784a6e48
files sidlib.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);