소스 검색

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 */
   }
 }