summaryrefslogtreecommitdiff
path: root/zaphod32_hash.h
diff options
context:
space:
mode:
authorYves Orton <demerphq@gmail.com>2017-12-01 19:32:46 +0100
committerYves Orton <demerphq@gmail.com>2017-12-01 19:36:01 +0100
commit9607fbb7cdfce88351b3ca3fcc5d4c96e616da63 (patch)
treebcf29d884bd3c469380ced7c14ae24456f4eec4f /zaphod32_hash.h
parent9d875cfd2b113b3cb1462875c8b92f3f08859fb5 (diff)
downloadperl-9607fbb7cdfce88351b3ca3fcc5d4c96e616da63.tar.gz
comment out unreachable code and explain why it was/is there
Diffstat (limited to 'zaphod32_hash.h')
-rw-r--r--zaphod32_hash.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/zaphod32_hash.h b/zaphod32_hash.h
index 31dd153def..bdbaa9a415 100644
--- a/zaphod32_hash.h
+++ b/zaphod32_hash.h
@@ -269,7 +269,10 @@ U32 zaphod32_hash_with_state(
return v0 ^ v2;
}
- if (len >= 8) {
+/* if (len >= 8) */ /* this block is only reached by a goto above, so this condition
+ is commented out, but if the above block is removed it would
+ be necessary to use this. */
+ {
zaphod32_read8:
len = key_len & 0x7;
end = key + key_len - len;