From 2b8a7f4a14bce917af42512ebe3ba4c14f9b569c Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Tue, 3 Oct 2006 06:29:32 +0000 Subject: [PATCH] Silence warning with g++ 4. (Somehow it can't tell that this must exit before the end of the function. I suspect it's the goto.) --- stepmania/src/ThemeManager.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index 5111e0163a..a122198fdf 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -780,6 +780,7 @@ try_element_again: GetThemeDirFromName(SpecialFiles::BASE_THEME_NAME).c_str() ); DEFAULT_FAIL( res ); } + FAIL_M( "" ); // Silence gcc 4. }