fix uninitialised variable (valgrind).
This commit is contained in:
parent
8569aacfe5
commit
8a38c64441
@ -3389,6 +3389,7 @@ Yap_cclause(volatile Term inp_clause, int NOfArgs, Term mod, volatile Term src)
|
|||||||
cglobs.cint.freep =
|
cglobs.cint.freep =
|
||||||
cglobs.cint.freep0 =
|
cglobs.cint.freep0 =
|
||||||
(char *) (H + maxvnum+(sizeof(Int)/sizeof(CELL))*MaxTemps+MaxTemps);
|
(char *) (H + maxvnum+(sizeof(Int)/sizeof(CELL))*MaxTemps+MaxTemps);
|
||||||
|
cglobs.cint.success_handler = 0L;
|
||||||
if (ASP <= CellPtr (cglobs.cint.freep) + 256) {
|
if (ASP <= CellPtr (cglobs.cint.freep) + 256) {
|
||||||
cglobs.vtable = NULL;
|
cglobs.vtable = NULL;
|
||||||
Yap_Error_Size = (256+maxvnum)*sizeof(CELL);
|
Yap_Error_Size = (256+maxvnum)*sizeof(CELL);
|
||||||
|
Reference in New Issue
Block a user