define unnecessary lock

This commit is contained in:
Vítor Santos Costa 2014-09-08 17:11:26 -05:00
parent aa82206330
commit 87a0a7af74

View File

@ -244,7 +244,6 @@ DumpActiveGoals ( USES_REGS1 )
pe = Yap_PredForChoicePt(b_ptr);
if (!pe)
break;
PELOCK(72,pe);
{
Functor f;
Term mod = PROLOG_MODULE;
@ -273,7 +272,6 @@ DumpActiveGoals ( USES_REGS1 )
}
YapPutc (LOCAL_c_error_stream,'\n');
}
UNLOCK(pe->PELock);
b_ptr = b_ptr->cp_b;
}
}