aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2015-12-22 10:27:04 -0500
committerNick Mathewson <nickm@torproject.org>2015-12-22 10:27:04 -0500
commit4ec0f8531ee4f40cfb3eeca4c383c454986a268a (patch)
treefaba4a7e5befc1125a7783dc0bd18992509e28c5 /src/common
parentf2a5df252f3ba84f2bc98862fc35f9020ce78fd5 (diff)
downloadtor-4ec0f8531ee4f40cfb3eeca4c383c454986a268a.tar.gz
tor-4ec0f8531ee4f40cfb3eeca4c383c454986a268a.zip
Add an unreachable line to make the compiler happy
Diffstat (limited to 'src/common')
-rw-r--r--src/common/crypto.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/crypto.c b/src/common/crypto.c
index a11ca79c04..251bbbf893 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 */
}
}