Fix potential uninitialized value in printout - sacc - sacc(omys), simple conso… | |
git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65… | |
Log | |
Files | |
Refs | |
Tags | |
LICENSE | |
--- | |
commit 904cd0f37ae4028597cb85cb08190e998dfac62b | |
parent e01ac82824ccd60b4a77498f8e49a443296fcba2 | |
Author: Quentin Rameau <[email protected]> | |
Date: Fri, 11 Oct 2019 17:09:31 +0200 | |
Fix potential uninitialized value in printout | |
Diffstat: | |
M sacc.c | 2 +- | |
1 file changed, 1 insertion(+), 1 deletion(-) | |
--- | |
diff --git a/sacc.c b/sacc.c | |
@@ -788,7 +788,7 @@ searchitem(Item *entry, Item *item) | |
static void | |
printout(Item *hole) | |
{ | |
- char t; | |
+ char t = 0; | |
if (!hole) | |
return; |