[tor-commits] [tor/master] Add an unreachable line to make the compiler happy
nickm at torproject.org
nickm at torproject.org
Tue Dec 22 15:30:57 UTC 2015
commit 4ec0f8531ee4f40cfb3eeca4c383c454986a268a
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Dec 22 10:27:04 2015 -0500
Add an unreachable line to make the compiler happy
---
src/common/crypto.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/common/crypto.c b/src/common/crypto.c
index a11ca79..251bbbf 100644
--- a/src/common/crypto.c
+++ b/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 */
}
}
More information about the tor-commits
mailing list