Commit 8684bd13 authored by Spencer Oliver's avatar Spencer Oliver
Browse files

cfi: fix release build warnings


Signed-off-by: default avatarSpencer Oliver <ntfreak@users.sourceforge.net>
parent 0535531d
......@@ -1663,8 +1663,8 @@ static int cfi_spansion_write_block(struct flash_bank *bank, uint8_t *buffer,
return ERROR_TARGET_RESOURCE_NOT_AVAILABLE;
}
int target_code_size;
const uint32_t *target_code_src;
int target_code_size = 0;
const uint32_t *target_code_src = NULL;
switch (bank->bus_width)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment