mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-24 10:18:59 +00:00
LibPDF: Replace if (a) VERIFY(0)
with VERIFY(!a)
No behavior change.
This commit is contained in:
parent
ee74bc2538
commit
f2f07c3a80
Notes:
sideshowbarker
2024-07-16 19:17:47 +09:00
Author: https://github.com/nico
Commit: f2f07c3a80
Pull-request: https://github.com/SerenityOS/serenity/pull/22308
Reviewed-by: https://github.com/gmta ✅
1 changed files with 1 additions and 2 deletions
|
@ -114,8 +114,7 @@ PDFErrorOr<Vector<ByteBuffer>> PS1FontProgram::parse_subroutines(Reader& reader)
|
|||
|
||||
while (reader.remaining()) {
|
||||
auto word = TRY(parse_word(reader));
|
||||
if (word.is_empty())
|
||||
VERIFY(0);
|
||||
VERIFY(!word.is_empty());
|
||||
|
||||
if (word == "dup") {
|
||||
auto index = TRY(parse_int(reader));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue