mirror of
https://github.com/fadden/nulib2.git
synced 2025-01-14 16:33:31 +00:00
Looks like "vim" is having some fun with me.
This commit is contained in:
parent
771144bcea
commit
70b4604e31
@ -204,7 +204,7 @@ Nu_CompressToArchive(NuArchive* pArchive, NuDataSource* pDataSource,
|
|||||||
&threadCrc);
|
&threadCrc);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
/* should've been blocked in Value.c */
|
/* should've been blocked in Value.c */
|
||||||
Assert(0);
|
Assert(0);
|
||||||
err = kNuErrInternal;
|
err = kNuErrInternal;
|
||||||
goto bail;
|
goto bail;
|
||||||
|
@ -136,7 +136,7 @@ Nu_SQGetcCRC(SQState* pSqState, int* pSym)
|
|||||||
pSqState->crc = Nu_CalcCRC16(pSqState->crc, &c, 1);
|
pSqState->crc = Nu_CalcCRC16(pSqState->crc, &c, 1);
|
||||||
}
|
}
|
||||||
*pSym = c;
|
*pSym = c;
|
||||||
pSqState->uncompRemaining--;
|
pSqState->uncompRemaining--;
|
||||||
}
|
}
|
||||||
|
|
||||||
return err;
|
return err;
|
||||||
|
@ -208,8 +208,8 @@ Nu_ConvertCompressValToFormat(NuArchive* pArchive, NuValue compValue)
|
|||||||
case kNuCompressLZW1: threadFormat = kNuThreadFormatLZW1; break;
|
case kNuCompressLZW1: threadFormat = kNuThreadFormatLZW1; break;
|
||||||
case kNuCompressLZW2: threadFormat = kNuThreadFormatLZW2; break;
|
case kNuCompressLZW2: threadFormat = kNuThreadFormatLZW2; break;
|
||||||
case kNuCompressSQ: threadFormat = kNuThreadFormatHuffmanSQ; break;
|
case kNuCompressSQ: threadFormat = kNuThreadFormatHuffmanSQ; break;
|
||||||
case kNuCompressLZC12: threadFormat = kNuThreadFormatLZC12; break;
|
case kNuCompressLZC12: threadFormat = kNuThreadFormatLZC12; break;
|
||||||
case kNuCompressLZC16: threadFormat = kNuThreadFormatLZC16; break;
|
case kNuCompressLZC16: threadFormat = kNuThreadFormatLZC16; break;
|
||||||
default:
|
default:
|
||||||
Assert(false);
|
Assert(false);
|
||||||
Nu_ReportError(NU_BLOB, kNuErrInvalidArg,
|
Nu_ReportError(NU_BLOB, kNuErrInvalidArg,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user