summaryrefslogtreecommitdiff
path: root/src/or/hibernate.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-10-26 22:35:29 -0400
committerNick Mathewson <nickm@torproject.org>2009-10-26 22:40:41 -0400
commit385853a282138a614bb2bd8d6fe95a1aa573c944 (patch)
tree03223a7fa838ba3db3f614a35dbc34de7f9ccc5f /src/or/hibernate.c
parent134ac8059b18551e37f5b298f5a6362f07fa3ea7 (diff)
downloadtor-385853a282138a614bb2bd8d6fe95a1aa573c944.tar.gz
tor-385853a282138a614bb2bd8d6fe95a1aa573c944.zip
Fix/annotate deadcode for CID 402,403
Diffstat (limited to 'src/or/hibernate.c')
-rw-r--r--src/or/hibernate.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/hibernate.c b/src/or/hibernate.c
index 89f9aa701b..d68682d730 100644
--- a/src/or/hibernate.c
+++ b/src/or/hibernate.c
@@ -182,6 +182,9 @@ accounting_parse_options(or_options_t *options, int validate_only)
case UNIT_DAY:
d = 0;
break;
+ /* Coverity dislikes unreachable default cases; some compilers warn on
+ * switch statements missing a case. Tell Coverity not to worry. */
+ /* coverity[dead_error_begin] */
default:
tor_assert(0);
}