浏览代码

Add an unreachable line to make the compiler happy

Nick Mathewson 8 年之前
父节点
当前提交
4ec0f8531e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/common/crypto.c

+ 1 - 0
src/common/crypto.c

@@ -1731,6 +1731,7 @@ crypto_digest_algorithm_get_length(digest_algorithm_t alg)
       return DIGEST512_LEN;
     default:
       tor_assert(0);
+      return 0; /* Unreachable */
   }
 }