LibPDF: Replace if (a) VERIFY(0) with VERIFY(!a)

No behavior change.
This commit is contained in:
Nico Weber 2023-12-15 16:07:34 -05:00 committed by Jelle Raaijmakers
parent ee74bc2538
commit f2f07c3a80

View file

@ -114,8 +114,7 @@ PDFErrorOr<Vector<ByteBuffer>> PS1FontProgram::parse_subroutines(Reader& reader)
while (reader.remaining()) { while (reader.remaining()) {
auto word = TRY(parse_word(reader)); auto word = TRY(parse_word(reader));
if (word.is_empty()) VERIFY(!word.is_empty());
VERIFY(0);
if (word == "dup") { if (word == "dup") {
auto index = TRY(parse_int(reader)); auto index = TRY(parse_int(reader));