Suppress warning about longjmp clobbering local variable.

This commit is contained in:
Gareth McMullin 2015-04-02 21:06:18 -07:00
parent 05f062612b
commit 865beaba98
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ static int cortexm_halt_wait(target *t)
ADIv5_AP_t *ap = adiv5_target_ap(t);
struct cortexm_priv *priv = ap->priv;
uint32_t dhcsr = 0;
volatile uint32_t dhcsr = 0;
volatile struct exception e;
TRY_CATCH (e, EXCEPTION_ALL) {
/* If this times out because the target is in WFI then