aboutsummaryrefslogtreecommitdiff
path: root/paludis/fs_merger.cc
diff options
context:
space:
mode:
authorAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-02-24 19:27:49 -0800
committerAvatar Saleem Abdulrasool <compnerd@compnerd.org> 2013-03-02 08:59:13 -0800
commitc688a4d80b8283dc35e032d24086205c01a0b2c9 (patch)
treee19023be8c3365c0c566d9a6e7021f6b607b386e /paludis/fs_merger.cc
parent0ce8ee0e8a9109d043697b7e3402fe12d7ee7542 (diff)
downloadpaludis-c688a4d80b8283dc35e032d24086205c01a0b2c9.tar.gz
paludis-c688a4d80b8283dc35e032d24086205c01a0b2c9.tar.xz
remove unexecuted statements
This reworks some idiom usage to avoid unexecutable statements. This is a code cleanup of locations flagged by the clang parser. No functionality change is intended.
Diffstat (limited to 'paludis/fs_merger.cc')
-rw-r--r--paludis/fs_merger.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/paludis/fs_merger.cc b/paludis/fs_merger.cc
index 7d3011665..8567d1607 100644
--- a/paludis/fs_merger.cc
+++ b/paludis/fs_merger.cc
@@ -495,11 +495,10 @@ FSMerger::track_renamed_dir_recursive(const FSPath & dst)
case et_misc:
throw FSMergerError("Unexpected 'et_misc' entry found at: " + stringify(*d));
- continue;
case et_nothing:
case last_et:
- ;
+ break;
}
throw InternalError(PALUDIS_HERE, "Unexpected entry_type '" + stringify(m) + "'");