summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-08-05 09:32:51 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-08-05 13:44:33 +0000
commit566d836ac6170e6b5aff60f8becf4f825b454918 (patch)
treeeb4fe10c5949d3f563556e2096cb38bed4a85966
parentf3010c6a8e7946bfb8db9a681e7bff6d93e56a7c (diff)
mikmod: Uninitialized variable used in a control flow decision
Change-Id: I6df903399361f1df7ca0f766fff4062a984e2ba8
-rw-r--r--apps/plugins/mikmod/mikmod.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/mikmod/mikmod.c b/apps/plugins/mikmod/mikmod.c
index bb295f1029..6622b5fdb6 100644
--- a/apps/plugins/mikmod/mikmod.c
+++ b/apps/plugins/mikmod/mikmod.c
@@ -682,7 +682,9 @@ static int main_menu(void)
/* double buffering thread */
static void thread(void)
{
- struct queue_event ev;
+ struct queue_event ev = {
+ .id = 0,
+ };
while (1)
{