diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 8110c78388c4c486cb3db792952eda9c0483d76d..bb4ee4cb564f542381f96854e626294173bf0478 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1530,7 +1530,6 @@ networkstatus_set_current_consensus(const char *consensus,
       !directory_caches_dir_info(get_options())) {
     /* This consensus is totally boring to us: we won't use it, and we won't
      * serve it.  Drop it. */
-    result = -1;
     goto done;
   }