Skip to content

Commit 5a695b6

Browse files
author
jan.nijtmans
committed
one missing initializer
1 parent 4dc0bad commit 5a695b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

generic/tclsample.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -436,6 +436,7 @@ Sample_Init(
436436

437437
numcontexts = 1;
438438
sha1CmdContexts = (sha1CmdContext *)ckalloc(sizeof(sha1CmdContext));
439+
sha1CmdContexts[0].totalRead = 0;
439440

440441
return TCL_OK;
441442
}

0 commit comments

Comments
 (0)