From 15c41ceaaf65e8e1de1785ea4c5f2f6413dbc5c2 Mon Sep 17 00:00:00 2001 From: Benau Date: Sun, 7 Oct 2018 12:14:22 +0800 Subject: [PATCH] Fix clang warning --- src/achievements/achievement_info.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/achievements/achievement_info.cpp b/src/achievements/achievement_info.cpp index 271be5ce1..1b11d78ad 100644 --- a/src/achievements/achievement_info.cpp +++ b/src/achievements/achievement_info.cpp @@ -161,7 +161,7 @@ int AchievementInfo::getRecursiveDepth(goalTree &parent) for (unsigned int i=0;i max); + if (depth > max) max = depth; } return max+1;