Browse Source

Fix uninitialized variables in target sam3x

Exposed while building hosted with -Og option
pull/1078/head
SId Price 2 years ago
committed by Rachel Mant
parent
commit
bc9032da06
  1. 2
      src/target/sam3x.c

2
src/target/sam3x.c

@ -599,7 +599,7 @@ static bool sam_cmd_gpnvm(target *t, int argc, const char **argv)
goto bad_usage;
}
uint32_t base, gpnvm_mask;
uint32_t base = 0, gpnvm_mask = 0;
enum sam_driver drv = sam_driver(t);
switch(drv) {
case DRIVER_SAM3X:

Loading…
Cancel
Save