From: oharboe at B. <oh...@ma...> - 2009-08-25 09:04:28
|
Author: oharboe Date: 2009-08-25 09:04:25 +0200 (Tue, 25 Aug 2009) New Revision: 2612 Modified: trunk/src/svf/svf.c Log: Audrius Urmanavi?\196?\141ius <did...@gm...> Latest source (R2606) does not compile under Windows+Cygwin - fails with error about possibly uninitialized use of variable 'ch'. Modified: trunk/src/svf/svf.c =================================================================== --- trunk/src/svf/svf.c 2009-08-25 07:02:50 UTC (rev 2611) +++ trunk/src/svf/svf.c 2009-08-25 07:04:25 UTC (rev 2612) @@ -656,7 +656,7 @@ static int svf_copy_hexstring_to_binary(char *str, uint8_t **bin, int orig_bit_len, int bit_len) { int i, str_len = strlen(str), str_hbyte_len = (bit_len + 3) >> 2; - uint8_t ch; + uint8_t ch = 0; if (ERROR_OK != svf_adjust_array_length(bin, orig_bit_len, bit_len)) { |