Browse Source

fix warning

git-svn-id: svn://svn.berlios.de/openocd/trunk@2704 b42882b7-edfa-0310-969c-e2dbd0fdcd60
tags/v0.3.0-rc0
oharboe 14 years ago
parent
commit
9816f2ecda
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/flash/cfi.c

+ 1
- 1
src/flash/cfi.c View File

@@ -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;


Loading…
Cancel
Save