target/sam3x: saner uninitialized variable prevention
Signed-off-by: Rafael Silva <perigoso@riseup.net>
This commit is contained in:
parent
2ef4269b0e
commit
1bca0323d9
|
@ -622,6 +622,9 @@ static bool sam_cmd_gpnvm(target *t, int argc, const char **argv)
|
|||
gpnvm_mask = 0x1BF;
|
||||
base = SAMX7X_EEFC_BASE;
|
||||
break;
|
||||
default:
|
||||
/* unknown / invalid driver*/
|
||||
goto bad_usage;
|
||||
}
|
||||
|
||||
uint32_t mask = 0, values = 0;
|
||||
|
|
Loading…
Reference in New Issue