[tor/master] Add an unreachable line to make the compiler happy

22 Dec
2015
22 Dec
'15
3:30 p.m.
commit 4ec0f8531ee4f40cfb3eeca4c383c454986a268a Author: Nick Mathewson <nickm@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 */ } }
3465
Age (days ago)
3465
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org