summaryrefslogtreecommitdiffstats
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/loader/loader.cpp')
-rw-r--r--src/core/loader/loader.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cpp
index 94dcc50f9..aca09b374 100644
--- a/src/core/loader/loader.cpp
+++ b/src/core/loader/loader.cpp
@@ -86,8 +86,10 @@ static const char* GetFileTypeString(FileType type) {
return "raw";
case FileType::Error:
case FileType::Unknown:
- return "unknown";
+ break;
}
+
+ return "unknown";
}
ResultStatus LoadFile(const std::string& filename) {