summaryrefslogtreecommitdiff
path: root/src/svf
diff options
context:
space:
mode:
Diffstat (limited to 'src/svf')
-rw-r--r--src/svf/svf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/svf/svf.c b/src/svf/svf.c
index 16495ac1..a25b3580 100644
--- a/src/svf/svf.c
+++ b/src/svf/svf.c
@@ -656,7 +656,7 @@ static int svf_adjust_array_length(uint8_t **arr, int orig_bit_len, int new_bit_
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))
{