summaryrefslogtreecommitdiff
path: root/apps/plugins
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 /apps/plugins
parent46e25289928ce3ef2a1a73d2d8ed8305aeec23cc (diff)
downloadrockbox-dc3537e1c0ec477706117150f4232f743786e365.tar.gz
rockbox-dc3537e1c0ec477706117150f4232f743786e365.zip
Silence a build warning in the superdom plugin.
Potential uninitialized variable, found by android NDK10 toolchain Change-Id: Ia67f69997d9eab8fe4828111ed52576b0a1c423f
Diffstat (limited to 'apps/plugins')
-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)
1900 int men_needed; 1900 int men_needed;
1901 struct threat targets[2]; 1901 struct threat targets[2];
1902 int numtargets; 1902 int numtargets;
1903 struct cursor adj; 1903 struct cursor adj = { 0, 0 };
1904 1904
1905 compres.cash += compres.bank; 1905 compres.cash += compres.bank;
1906 compres.bank = 0; 1906 compres.bank = 0;