Skip to content

Commit f9eef12

Browse files
committed
fix selfcheck warning
1 parent 0089cba commit f9eef12

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/errorlogger.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -804,8 +804,8 @@ std::string ErrorMessage::toString(bool verbose,
804804
replace(result, callStackSubstitutionMap);
805805
}
806806

807-
int cachePrio = -1;
808807
if (!templateLocation.empty() && callStack.size() >= 2U) {
808+
int cachePrio = -1;
809809
for (const FileLocation &fileLocation : callStack) {
810810
std::string text = templateLocation;
811811

0 commit comments

Comments
 (0)