summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAdam Strzelecki <ono@java.pl>2015-06-09 22:15:08 +0200
committerAdam Strzelecki <ono@java.pl>2015-06-09 22:20:05 +0200
commiteccc2f87e9dfa7e849e027bef857a390de3e9bae (patch)
tree83fe249ce38784f904e26e857003c53f620ca9bb
parent3d266433a75449d76b589aba6edaf488d5a8c921 (diff)
downloadNim-eccc2f87e9dfa7e849e027bef857a390de3e9bae.tar.gz
securehash: remove unused emptySecureHash
-rw-r--r--compiler/securehash.nim8
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/securehash.nim b/compiler/securehash.nim
index 3383f23a2..12950f137 100644
--- a/compiler/securehash.nim
+++ b/compiler/securehash.nim
@@ -16,14 +16,6 @@ type
   SHA1Digest = array[0 .. sha_digest_size-1, uint8]
   SecureHash* = distinct SHA1Digest
 
-const emptySecureHash = SecureHash([
-  0u8, 0, 0, 0,
-  0, 0, 0, 0,
-  0, 0, 0, 0,
-  0, 0, 0, 0,
-  0, 0, 0, 0,
-])
-
 proc sha1(src: string) : SHA1Digest
 
 proc secureHash*(str: string): SecureHash = SecureHash(sha1(str))