changeset 294:c9cc62e7f221

Oops. Better remember to properly always initialize PSFStackItem fields.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 09 Jan 2020 14:47:28 +0200
parents c3ebab7f9094
children 887b67891105
files sidinfo.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sidinfo.c	Thu Jan 09 14:45:21 2020 +0200
+++ b/sidinfo.c	Thu Jan 09 14:47:28 2020 +0200
@@ -374,7 +374,10 @@
                 return FALSE;
 
             item.cmd = found;
+            item.flags = 0;
+            item.fmt = NULL;
             item.str = NULL;
+
             if (!siStackAddItem(stack, &item))
                 return FALSE;
         }