Преглед изворни кода

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