mirror of
https://github.com/fadden/nulib2.git
synced 2024-05-28 23:41:29 +00:00
Tightened up error handling on some internal-error failures.
This commit is contained in:
parent
693ddd6d61
commit
53bb12944c
|
@ -1172,6 +1172,7 @@ Nu_ConstructArchiveRecord(NuArchive* pArchive, NuRecord* pRecord)
|
||||||
/* verify that all threads and threadMods have been touched */
|
/* verify that all threads and threadMods have been touched */
|
||||||
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
|
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
|
||||||
err = kNuErrInternal;
|
err = kNuErrInternal;
|
||||||
|
Assert(0);
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1186,6 +1187,7 @@ Nu_ConstructArchiveRecord(NuArchive* pArchive, NuRecord* pRecord)
|
||||||
initialOffset, finalOffset, threadDisp);
|
initialOffset, finalOffset, threadDisp);
|
||||||
err = kNuErrInternal;
|
err = kNuErrInternal;
|
||||||
Assert(0);
|
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 */
|
/* verify that all threads and threadMods have been touched */
|
||||||
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
|
if (!Nu_VerifyAllTouched(pArchive, pRecord)) {
|
||||||
err = kNuErrInternal;
|
err = kNuErrInternal;
|
||||||
|
Assert(0);
|
||||||
goto bail;
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1409,6 +1412,7 @@ Nu_ConstructNewRecord(NuArchive* pArchive, NuRecord* pRecord, FILE* fp)
|
||||||
initialOffset, finalOffset, threadDisp);
|
initialOffset, finalOffset, threadDisp);
|
||||||
err = kNuErrInternal;
|
err = kNuErrInternal;
|
||||||
Assert(0);
|
Assert(0);
|
||||||
|
goto bail;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue
Block a user