diff options
| author | Pierre Bourdon <delroth@gmail.com> | 2014-09-14 01:58:44 +0200 |
|---|---|---|
| committer | Pierre Bourdon <delroth@gmail.com> | 2014-09-14 01:58:44 +0200 |
| commit | eee473ed5fd5615c973db32600d80c3c3e2bbefd (patch) | |
| tree | 35dae75aee95f466f8a4b59edbe18a7e77a17088 /Source/Core/DiscIO/VolumeCreator.cpp | |
| parent | 9607cc4159b382a8c8d12467fe6fe3bc0cdc1f3c (diff) | |
| parent | 4db2af2d42da5960b337e1cea8795598d4a947e8 (diff) | |
Merge pull request #1066 from lioncash/breaks
DiscIO: Remove unnecessary break statements.
Diffstat (limited to 'Source/Core/DiscIO/VolumeCreator.cpp')
| -rw-r--r-- | Source/Core/DiscIO/VolumeCreator.cpp | 3 |
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; } |
