diff --git a/src/target/cortex_a.c b/src/target/cortex_a.c index b15dcb414..e4d8331b2 100644 --- a/src/target/cortex_a.c +++ b/src/target/cortex_a.c @@ -3229,7 +3229,7 @@ static int cortex_a_virt2phys(struct target *target, struct armv7a_common *armv7a = target_to_armv7a(target); struct adiv5_dap *swjdp = armv7a->arm.dap; uint8_t apsel = swjdp->apsel; - int mmu_enabled; + int mmu_enabled = 0; /* * If the MMU was not enabled at debug entry, there is no