aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/file_sys/archive_backend.h
diff options
context:
space:
mode:
authorGravatar Subv <subv2112@gmail.com>2015-01-01 12:39:27 -0500
committerGravatar Subv <subv2112@gmail.com>2015-01-02 21:13:54 -0500
commitaade417b143a756da10b69747793c707ef8316fd (patch)
treed5fd49926dbfb4e7c289a8fa060df9c1e4401fde /src/core/file_sys/archive_backend.h
parent13efbdc2014177b84cae82e522b191e2f2f022df (diff)
Archives: Reduced duplicate code in RomFS and SaveCheck.
Fixed a few warnings and cleaned up the code
Diffstat (limited to 'src/core/file_sys/archive_backend.h')
-rw-r--r--src/core/file_sys/archive_backend.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/file_sys/archive_backend.h b/src/core/file_sys/archive_backend.h
index 1612c35c..390178f6 100644
--- a/src/core/file_sys/archive_backend.h
+++ b/src/core/file_sys/archive_backend.h
@@ -88,6 +88,7 @@ public:
const std::string DebugStr() const {
switch (GetType()) {
case Invalid:
+ default:
return "[Invalid]";
case Empty:
return "[Empty]";
@@ -117,6 +118,7 @@ public:
return {};
case Invalid:
case Binary:
+ default:
// TODO(yuriks): Add assert
LOG_ERROR(Service_FS, "LowPathType cannot be converted to string!");
return {};
@@ -159,6 +161,7 @@ public:
case Empty:
return {};
case Invalid:
+ default:
// TODO(yuriks): Add assert
LOG_ERROR(Service_FS, "LowPathType cannot be converted to binary!");
return {};