From 5a695b624ffc90432aa06d61dfcd4e7b0efd0c90 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" <nijtmans@users.sourceforge.net> Date: Wed, 18 Dec 2024 21:36:44 +0000 Subject: [PATCH] one missing initializer --- generic/tclsample.c | 1 + 1 file changed, 1 insertion(+) diff --git a/generic/tclsample.c b/generic/tclsample.c index a655e4d..f50cd7f 100644 --- a/generic/tclsample.c +++ b/generic/tclsample.c @@ -436,6 +436,7 @@ Sample_Init( numcontexts = 1; sha1CmdContexts = (sha1CmdContext *)ckalloc(sizeof(sha1CmdContext)); + sha1CmdContexts[0].totalRead = 0; return TCL_OK; }