Fix potential uninitialized value in printout - sacc - sacc(omys), simple console gopher client
HTML git clone git://bitreich.org/sacc/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/sacc/
DIR Log
DIR Files
DIR Refs
DIR Tags
DIR LICENSE
---
DIR commit 904cd0f37ae4028597cb85cb08190e998dfac62b
DIR parent e01ac82824ccd60b4a77498f8e49a443296fcba2
HTML Author: Quentin Rameau <quinq@fifth.space>
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(-)
---
DIR 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;