mirror of
https://github.com/blackmagic-debug/blackmagic.git
synced 2025-10-14 02:58:36 +08:00
Fix uninitialized variables in target sam3x
Exposed while building hosted with -Og option
This commit is contained in:
@@ -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:
|
||||||
|
Reference in New Issue
Block a user