remove traces

This commit is contained in:
Laurent Vivier 2007-09-29 21:27:48 +00:00
parent 15c4184ee7
commit 2ebda90890

View File

@ -18,16 +18,13 @@ DCtlHandle GetDCtlEntry(short refNum)
count = LMGetUnitTableEntryCount(); count = LMGetUnitTableEntryCount();
currentHandle = (DCtlEntry ***) LMGetUTableBase(); currentHandle = (DCtlEntry ***) LMGetUTableBase();
printf("\ndctlref ");
for (i = 0; i < count; i++) for (i = 0; i < count; i++)
{ {
if (!currentHandle[i]) if (!currentHandle[i])
continue; continue;
currentPtr = *(currentHandle[i]); currentPtr = *(currentHandle[i]);
printf("%d \n", currentPtr->dCtlRefNum);
if (currentPtr->dCtlRefNum == refNum) if (currentPtr->dCtlRefNum == refNum)
return currentHandle[i]; return currentHandle[i];
} }
printf("\n");
return (DCtlHandle)0; return (DCtlHandle)0;
} }