diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-14 06:06:35 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-09-14 06:06:35 +0000 |
commit | 9816f2ecda1f3dd9e232db5200645f57b52f765e (patch) | |
tree | b6938ffeba3dcbc06e66d09d0f6709558a33a228 /src/flash | |
parent | 772d8d06eabf94ad30470dfdb167ab9e80a69062 (diff) | |
download | riscv-openocd-9816f2ecda1f3dd9e232db5200645f57b52f765e.zip riscv-openocd-9816f2ecda1f3dd9e232db5200645f57b52f765e.tar.gz riscv-openocd-9816f2ecda1f3dd9e232db5200645f57b52f765e.tar.bz2 |
fix warning
git-svn-id: svn://svn.berlios.de/openocd/trunk@2704 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/flash')
-rw-r--r-- | src/flash/cfi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/cfi.c b/src/flash/cfi.c index 66b94c9..7ba9371 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -1448,7 +1448,7 @@ static int cfi_spansion_write_block(struct flash_bank_s *bank, uint8_t *buffer, armv4_5_info.core_state = ARMV4_5_STATE_ARM; /* flash write code */ - int target_code_size; + int target_code_size = 0; if (!cfi_info->write_algorithm) { uint8_t *target_code; |