[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor/master] Add an unreachable line to make the compiler happy
commit 4ec0f8531ee4f40cfb3eeca4c383c454986a268a
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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 */
}
}
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits