summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-04-13 17:24:07 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-04-13 17:26:22 -0400
commitdc3537e1c0ec477706117150f4232f743786e365 (patch)
treef3a770f40f3fc27f0022db1da25a0515f83a1c5a
parent46e25289928ce3ef2a1a73d2d8ed8305aeec23cc (diff)
Silence a build warning in the superdom plugin.
Potential uninitialized variable, found by android NDK10 toolchain Change-Id: Ia67f69997d9eab8fe4828111ed52576b0a1c423f
-rw-r--r--apps/plugins/superdom.c2
1 files changed, 1 insertions, 1 deletions
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;