From dc3537e1c0ec477706117150f4232f743786e365 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 13 Apr 2020 17:24:07 -0400 Subject: [PATCH] Silence a build warning in the superdom plugin. Potential uninitialized variable, found by android NDK10 toolchain Change-Id: Ia67f69997d9eab8fe4828111ed52576b0a1c423f --- apps/plugins/superdom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/plugins/superdom.c b/apps/plugins/superdom.c index 877f32e081..fde11552ca 100644 --- a/apps/plugins/superdom.c +++ b/apps/plugins/superdom.c @@ -1900,7 +1900,7 @@ static void computer_allocate(void) int men_needed; struct threat targets[2]; int numtargets; - struct cursor adj; + struct cursor adj = { 0, 0 }; compres.cash += compres.bank; compres.bank = 0;