fix uninitialised variable (valgrind).

This commit is contained in:
Costa Vitor 2009-07-15 14:27:56 -05:00
parent 8569aacfe5
commit 8a38c64441
1 changed files with 1 additions and 0 deletions

View File

@ -3389,6 +3389,7 @@ Yap_cclause(volatile Term inp_clause, int NOfArgs, Term mod, volatile Term src)
cglobs.cint.freep =
cglobs.cint.freep0 =
(char *) (H + maxvnum+(sizeof(Int)/sizeof(CELL))*MaxTemps+MaxTemps);
cglobs.cint.success_handler = 0L;
if (ASP <= CellPtr (cglobs.cint.freep) + 256) {
cglobs.vtable = NULL;
Yap_Error_Size = (256+maxvnum)*sizeof(CELL);