From: ntfreak Date: Mon, 6 Oct 2008 18:28:56 +0000 (+0000) Subject: - remove build warnings X-Git-Tag: v0.1.0~286 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab362fb528bc741482d31c7ff3a73ccf94392d73;p=openocd - remove build warnings - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1022 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- diff --git a/src/flash/cfi.c b/src/flash/cfi.c index 90d5678c..58011095 100644 --- a/src/flash/cfi.c +++ b/src/flash/cfi.c @@ -1600,7 +1600,6 @@ int cfi_spansion_write_words(struct flash_bank_s *bank, u8 *word, u32 wordcount, cfi_flash_bank_t *cfi_info = bank->driver_priv; target_t *target = bank->target; u8 command[8]; - int sector; cfi_spansion_pri_ext_t *pri_ext = cfi_info->pri_ext; /* Calculate buffer size and boundary mask */ diff --git a/src/target/cortex_swjdp.c b/src/target/cortex_swjdp.c index e368cfd8..4363dfdd 100644 --- a/src/target/cortex_swjdp.c +++ b/src/target/cortex_swjdp.c @@ -38,6 +38,7 @@ #include "cortex_swjdp.h" #include "jtag.h" #include "log.h" +#include "time_support.h" #include /*