mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:34:57 +00:00
Everywhere: Rename ASSERT => VERIFY
(...and ASSERT_NOT_REACHED => VERIFY_NOT_REACHED) Since all of these checks are done in release builds as well, let's rename them to VERIFY to prevent confusion, as everyone is used to assertions being compiled out in release. We can introduce a new ASSERT macro that is specifically for debug checks, but I'm doing this wholesale conversion first since we've accumulated thousands of these already, and it's not immediately obvious which ones are suitable for ASSERT.
This commit is contained in:
parent
b33a6a443e
commit
5d180d1f99
725 changed files with 3448 additions and 3448 deletions
|
@ -101,7 +101,7 @@ static bool unpack_file_for_central_directory_index(off_t central_directory_inde
|
|||
return false;
|
||||
auto compression_method = buffer[1] << 8 | buffer[0];
|
||||
// FIXME: Remove once any decompression is supported.
|
||||
ASSERT(compression_method == None);
|
||||
VERIFY(compression_method == None);
|
||||
|
||||
if (!seek_and_read(buffer, file, local_file_header_index + LFHCompressedSizeOffset, 4))
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue