Forráskód Böngészése

Add an unreachable line to make the compiler happy

Nick Mathewson 8 éve
szülő
commit
4ec0f8531e
1 módosított fájl, 1 hozzáadás és 0 törlés
  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 */
   }
 }