Recently Written · git

sacc

Mirror of git://bitreich.org/sacc, the sacc gopher client from bitreich.org.

git clone https://github.com/equwal/sacc

Log | Files | Refs


commit 904cd0f37ae4028597cb85cb08190e998dfac62b
Quentin Rameau <quinq@fifth.space>
2019-10-11 17:09:31 +0200

Fix potential uninitialized value in printout

 sacc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sacc.c b/sacc.c
index 98a4927..61d6fc7 100644
--- 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;