detected by clang.
Change-Id: Id9effcc5437870f37fecd33803f7753c6eca53d6
Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk>
Reviewed-on: http://openocd.zylin.com/361
Tested-by: jenkins
Reviewed-by: Øyvind Harboe <oyvindharboe@gmail.com>
Reviewed-by: Mathias Küster <kesmtp@freenet.de>
                        goto done;
                }
                buffer += count;
-               count  -= count;
        }
        LOG_DEBUG("Done!");
        r = ERROR_OK;
 
        unsigned x;
        int r;
-       r = 0;
 
        // bank0 must exist before we can do anything
        if (pChip->details.bank[0].pBank == NULL) {
                }
        }
 
-
        switch (CMD_ARGC) {
        default:
                return ERROR_COMMAND_SYNTAX_ERROR;
                break;
        case 0:
-               who = -1;
                goto showall;
                break;
        case 1:
 
                /* data word 1 */
                target_write_memory(target, str7x_get_flash_adr(bank, FLASH_DR0),
                                4, 1, last_dword);
-               bytes_written += 4;
 
                /* data word 2 */
                target_write_memory(target, str7x_get_flash_adr(bank, FLASH_DR1),
                                4, 1, last_dword + 4);
-               bytes_written += 4;
 
                /* start programming cycle */
                cmd = FLASH_DWPG | FLASH_WMS;
 
                return ERROR_TARGET_NOT_HALTED;
        }
 
-       pc = armv7m->arm.pc;
        if (!current) {
                buf_set_u32(pc->value, 0, 32, address);
                pc->dirty = true;