From 1db009d522c8ca5957148362984e77a299f5cd22 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Tue, 25 Feb 2025 23:45:31 +0100 Subject: Remove stray continue, loop has no code outside of conditional branches. Tested as part of !136, pushed to master --- src/resources/db/statdb.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/resources/db/statdb.cpp b/src/resources/db/statdb.cpp index 64efed07e..297f2a6f1 100644 --- a/src/resources/db/statdb.cpp +++ b/src/resources/db/statdb.cpp @@ -192,7 +192,6 @@ void StatDb::loadXmlFile(const std::string &fileName, const std::string name = XML::getProperty(node, "name", ""); if (!name.empty()) loadXmlFile(name, skipError); - continue; } else if (xmlNameEqual(node, "basic")) { @@ -214,6 +213,7 @@ void StatDb::loadXmlFile(const std::string &fileName, loadStats(node, page); } } + if (skipError == SkipError_false) { if (mBasicStats.empty() && -- cgit v1.2.3-70-g09d2