diff options
author | Pierre Rossi <pierre.rossi@gmail.com> | 2011-07-28 11:04:07 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2011-07-28 11:04:07 +0200 |
commit | e9770b468474dbb1e2774d76b5309d729f35f4b8 (patch) | |
tree | 04c1056aa45f8e823ba398efbf68a3c99208fc58 /src/history | |
parent | Merge branch 'HOOKS' (diff) | |
download | rekonq-e9770b468474dbb1e2774d76b5309d729f35f4b8.tar.xz |
Introducing ASSERT_NOT_REACHED
In a similar fashion as WebKit, this might make those cases
where we don't expect to go more obvious in debug builds.
I also took the liberty to revisit a lot of switch statements
but it could potentially be used elsewhere
Reviewed-by: andrea
Diffstat (limited to 'src/history')
-rw-r--r-- | src/history/historymanager.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/history/historymanager.cpp b/src/history/historymanager.cpp index 0a29950e..a5cd29e3 100644 --- a/src/history/historymanager.cpp +++ b/src/history/historymanager.cpp @@ -304,8 +304,6 @@ void HistoryManager::loadSettings() days = 365; break; case 5: - days = -1; - break; default: days = -1; break; |