fixes from Stasinos

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@870 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2003-09-15 19:06:55 +00:00
parent ac19e411a2
commit 0d441d069d
2 changed files with 52 additions and 48 deletions

View File

@@ -4232,9 +4232,9 @@ static DBTerm *
StoreTermInDB(Term t, int nargs)
{
DBTerm *x;
Yap_Error_Size = 0;
int needs_vars;
Yap_Error_Size = 0;
while ((x = (DBTerm *)CreateDBStruct(t, (DBProp)NULL,
InQueue, &needs_vars)) == NULL) {
switch(DBErrorFlag) {