openocd/src
Aleksander Morgado 866774a690 arm7: add missing braces around an if()
Spotted by gcc:

    arm7_9_common.c: In function ‘arm7_9_unset_breakpoint’:
    arm7_9_common.c:353:4: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
        if (current_instr == arm7_9->thumb_bkpt)
        ^~
    arm7_9_common.c:356:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
         if (retval != ERROR_OK)
         ^~

The logic won't change once the braces have been added, as the new 'retval'
check only makes sense within the if().

Change-Id: I6a303e118f2150e5eb25c9268ad06de5d8a533b2
Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
Reviewed-on: http://openocd.zylin.com/3477
Tested-by: jenkins
Reviewed-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Matthias Welwarsky <matthias@welwarsky.de>
Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
2016-05-14 11:51:40 +01:00
..
flash flash/nor/spi: use only lower case hex numbers 2016-05-08 17:54:58 +01:00
helper Helper ioutil: cleanup: removing dead code 2016-05-08 17:56:08 +01:00
jtag libjaylink: Update to latest master branch 2016-05-14 11:50:43 +01:00
pld cpld/virtex2: allow JSTART to be disabled 2015-08-06 13:14:01 +01:00
rtos RTOS support: Add FPU support for FreeRTOS 2016-05-04 22:36:23 +01:00
server server/telnet: Check malloc() return values 2016-05-04 22:48:18 +01:00
svf svf: fix progress reporting switch behaviour 2015-11-20 22:27:48 +00:00
target arm7: add missing braces around an if() 2016-05-14 11:51:40 +01:00
transport transport: make 'transport select' auto-select the first available transport if not set 2015-03-25 21:32:49 +00:00
xsvf xsvf: output a warning suggesting using SVF 2015-11-30 10:11:16 +00:00
hello.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
hello.h update files to correct FSF address 2013-06-05 19:52:42 +00:00
main.c update files to correct FSF address 2013-06-05 19:52:42 +00:00
Makefile.am Makefile.am: link libusb-1.0 after libusb-0.1 to fix dependencies 2015-02-04 21:56:45 +00:00
openocd.c docs: update OpenOCD url's to openocd.org domain 2015-04-16 20:28:21 +01:00
openocd.h Fix some problems with the bin2char utility 2014-08-02 09:01:32 +00:00