]> git.ipfire.org Git - people/ms/dnsmasq.git/commitdiff
Fix compiler warning.
authorVladislav Grishenko <themiron@mail.ru>
Tue, 26 Nov 2013 11:09:31 +0000 (11:09 +0000)
committerSimon Kelley <simon@thekelleys.org.uk>
Tue, 26 Nov 2013 11:09:31 +0000 (11:09 +0000)
src/util.c

index 677898ce0a105900c90b5a0a063d1136db64d79e..096297d7b518229c2fe7ad91260d2ff19939eca0 100644 (file)
@@ -458,7 +458,7 @@ int parse_hex(char *in, unsigned char *out, int maxlen,
                  int j, bytes = (1 + (r - in))/2;
                  for (j = 0; j < bytes; j++)
                    { 
-                     char sav;
+                     char sav = sav;
                      if (j < bytes - 1)
                        {
                          sav = in[(j+1)*2];