PackageFileHeapWriter: Small style fix
This commit is contained in:
@@ -414,14 +414,14 @@ PackageFileHeapWriter::RemoveDataRanges(
|
|||||||
chunk.buffer, chunk.compressedSize,
|
chunk.buffer, chunk.compressedSize,
|
||||||
decompressionBuffer, chunk.uncompressedSize, uncompressedSize);
|
decompressionBuffer, chunk.uncompressedSize, uncompressedSize);
|
||||||
if (error != B_OK) {
|
if (error != B_OK) {
|
||||||
fErrorOutput->PrintError("Failed to decompress data chunk: %s\n",
|
fErrorOutput->PrintError("Failed to decompress data chunk: "
|
||||||
strerror(error));
|
"%s\n", strerror(error));
|
||||||
throw error;
|
throw error;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (uncompressedSize != chunk.uncompressedSize) {
|
if (uncompressedSize != chunk.uncompressedSize) {
|
||||||
fErrorOutput->PrintError("Failed to decompress data chunk: chunk "
|
fErrorOutput->PrintError("Failed to decompress data chunk: "
|
||||||
"size mismatch\n");
|
"chunk size mismatch\n");
|
||||||
throw status_t(B_ERROR);
|
throw status_t(B_ERROR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user