Tightened up error handling on some internal-error failures.

This commit is contained in:
Andy McFadden 2003-02-23 19:14:44 +00:00
parent 693ddd6d61
commit 53bb12944c
1 changed files with 4 additions and 0 deletions

View File

@ -1172,6 +1172,7 @@ Nu_ConstructArchiveRecord(NuArchive* pArchive, NuRecord* pRecord)
/* verify that all threads and threadMods have been touched */
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
err = kNuErrInternal;
Assert(0);
goto bail;
}
@ -1186,6 +1187,7 @@ Nu_ConstructArchiveRecord(NuArchive* pArchive, NuRecord* pRecord)
initialOffset, finalOffset, threadDisp);
err = kNuErrInternal;
Assert(0);
goto bail;
}
/*
@ -1395,6 +1397,7 @@ Nu_ConstructNewRecord(NuArchive* pArchive, NuRecord* pRecord, FILE* fp)
/* verify that all threads and threadMods have been touched */
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
err = kNuErrInternal;
Assert(0);
goto bail;
}
@ -1409,6 +1412,7 @@ Nu_ConstructNewRecord(NuArchive* pArchive, NuRecord* pRecord, FILE* fp)
initialOffset, finalOffset, threadDisp);
err = kNuErrInternal;
Assert(0);
goto bail;
}
/*