From c54c5f1b95413657418627ab9195ea7be3b52bf7 Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Wed, 10 Nov 2021 13:37:47 +1000 Subject: [PATCH] Common/CueParser: Remove redundant check for CATALOG --- src/common/cue_parser.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/common/cue_parser.cpp b/src/common/cue_parser.cpp index 4fee1e971..d9d2826c2 100644 --- a/src/common/cue_parser.cpp +++ b/src/common/cue_parser.cpp @@ -193,12 +193,12 @@ bool File::ParseLine(const char* line, u32 line_number, Common::Error* error) } // stuff we definitely ignore - if (TokenMatch(command, "CATALOG") || TokenMatch(command, "CDTEXTFILE") || TokenMatch(command, "CATALOG") || - TokenMatch(command, "ISRC") || TokenMatch("command", "TRACK_ISRC") || TokenMatch(command, "TITLE") || - TokenMatch(command, "PERFORMER") || TokenMatch(command, "SONGWRITER") || TokenMatch(command, "COMPOSER") || - TokenMatch(command, "ARRANGER") || TokenMatch(command, "MESSAGE") || TokenMatch(command, "DISC_ID") || - TokenMatch(command, "GENRE") || TokenMatch(command, "TOC_INFO1") || TokenMatch(command, "TOC_INFO2") || - TokenMatch(command, "UPC_EAN") || TokenMatch(command, "SIZE_INFO")) + if (TokenMatch(command, "CATALOG") || TokenMatch(command, "CDTEXTFILE") || TokenMatch(command, "ISRC") || + TokenMatch(command, "TRACK_ISRC") || TokenMatch(command, "TITLE") || TokenMatch(command, "PERFORMER") || + TokenMatch(command, "SONGWRITER") || TokenMatch(command, "COMPOSER") || TokenMatch(command, "ARRANGER") || + TokenMatch(command, "MESSAGE") || TokenMatch(command, "DISC_ID") || TokenMatch(command, "GENRE") || + TokenMatch(command, "TOC_INFO1") || TokenMatch(command, "TOC_INFO2") || TokenMatch(command, "UPC_EAN") || + TokenMatch(command, "SIZE_INFO")) { return true; }