Files
bc/SRC/patches/03_fix-uninitialized-variable.patch
2016-09-09 14:03:25 -05:00

12 lines
403 B
Diff

diff -purN a/bc/storage.c b/bc/storage.c
--- a/bc/storage.c 2006-09-04 21:39:31.000000000 -0500
+++ b/bc/storage.c 2016-09-09 13:05:09.720000000 -0500
@@ -99,6 +99,7 @@ more_functions (VOID)
{
f = &functions[indx];
f->f_defined = FALSE;
+ f->f_void = FALSE;
f->f_body = (char *) bc_malloc (BC_START_SIZE);
f->f_body_size = BC_START_SIZE;
f->f_code_size = 0;