aboutsummaryrefslogtreecommitdiffstats
path: root/python3
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-06-08 09:26:59 +0200
committerMattias Andrée <maandree@operamail.com>2013-06-08 09:26:59 +0200
commit7d9d8eaaf72976ef2fd065fb1db7e7452c9f6cdc (patch)
tree6e59cb328a1f783a93fa9b82125e505959ae71d4 /python3
parentm + add option -j (diff)
downloadsha3sum-7d9d8eaaf72976ef2fd065fb1db7e7452c9f6cdc.tar.gz
sha3sum-7d9d8eaaf72976ef2fd065fb1db7e7452c9f6cdc.tar.bz2
sha3sum-7d9d8eaaf72976ef2fd065fb1db7e7452c9f6cdc.tar.xz
remove unused variable
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'python3')
-rwxr-xr-xpython3/sha3sum.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/python3/sha3sum.py b/python3/sha3sum.py
index aa0cced..0824511 100755
--- a/python3/sha3sum.py
+++ b/python3/sha3sum.py
@@ -314,7 +314,6 @@ class SHA3:
@param off:int The offset in the message
@return :int Lane
'''
- rc = 0
n = min(len(message), rr)
return ((message[off + 7] << 56) if (off + 7 < n) else 0) | ((message[off + 6] << 48) if (off + 6 < n) else 0) | ((message[off + 5] << 40) if (off + 5 < n) else 0) | ((message[off + 4] << 32) if (off + 4 < n) else 0) | ((message[off + 3] << 24) if (off + 3 < n) else 0) | ((message[off + 2] << 16) if (off + 2 < n) else 0) | ((message[off + 1] << 8) if (off + 1 < n) else 0) | ((message[off]) if (off < n) else 0)