summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/VolumeCreator.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-09-12 11:30:36 -0400
committerLioncash <mathew1800@gmail.com>2014-09-12 11:34:34 -0400
commit4db2af2d42da5960b337e1cea8795598d4a947e8 (patch)
tree8d73b5b1058ea0454f2436d7485d82d1d65e0c7b /Source/Core/DiscIO/VolumeCreator.cpp
parent64b21a4812eb4d6912746d6cacabacd96e6875a2 (diff)
DiscIO: Remove unnecessary break statements.
Diffstat (limited to 'Source/Core/DiscIO/VolumeCreator.cpp')
-rw-r--r--Source/Core/DiscIO/VolumeCreator.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/DiscIO/VolumeCreator.cpp b/Source/Core/DiscIO/VolumeCreator.cpp
index c3f5abeb3d..0b6fc465e8 100644
--- a/Source/Core/DiscIO/VolumeCreator.cpp
+++ b/Source/Core/DiscIO/VolumeCreator.cpp
@@ -94,7 +94,6 @@ IVolume* CreateVolumeFromFilename(const std::string& _rFilename, u32 _PartitionG
return pVolume;
}
- break;
case DISC_TYPE_UNK:
default:
@@ -104,10 +103,8 @@ IVolume* CreateVolumeFromFilename(const std::string& _rFilename, u32 _PartitionG
NOTICE_LOG(DISCIO, "%s does not have the Magic word for a gcm, wiidisc or wad file\n"
"Set Log Verbosity to Warning and attempt to load the game again to view the values", Filename.c_str());
delete pReader;
- return nullptr;
}
- // unreachable code
return nullptr;
}