Fix uninitialized variables in target sam3x
Exposed while building hosted with -Og option
This commit is contained in:
parent
0612f2dc79
commit
bc9032da06
|
@ -599,7 +599,7 @@ static bool sam_cmd_gpnvm(target *t, int argc, const char **argv)
|
||||||
goto bad_usage;
|
goto bad_usage;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32_t base, gpnvm_mask;
|
uint32_t base = 0, gpnvm_mask = 0;
|
||||||
enum sam_driver drv = sam_driver(t);
|
enum sam_driver drv = sam_driver(t);
|
||||||
switch(drv) {
|
switch(drv) {
|
||||||
case DRIVER_SAM3X:
|
case DRIVER_SAM3X:
|
||||||
|
|
Loading…
Reference in New Issue