aboutsummaryrefslogtreecommitdiff
path: root/hash.inc
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:58:07 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-01-22 14:58:07 +0100
commitb0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee (patch)
tree2c1658de6ef4055395a565fce62aa583d297b85b /hash.inc
parentMakefile now places .o files in subdir. (diff)
downloadcalp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.gz
calp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.xz
Clean up a number of comments, and remove TODO's.
Diffstat (limited to '')
-rw-r--r--hash.inc2
1 files changed, 0 insertions, 2 deletions
diff --git a/hash.inc b/hash.inc
index 34766b54..81da6218 100644
--- a/hash.inc
+++ b/hash.inc
@@ -9,8 +9,6 @@ int HASH_PUT(TYPE) ( TABLE(TYPE)* table, TYPE* value) {
unsigned long h = hash(value->key.mem) % table->size;
TYPE* mem = table->values[h];
- // fprintf(stderr, "INFO: %i: [%s] := [%s]\n", table->item_count, value->key.mem, value->val.mem);
-
/* TODO conflict resolution */
if (mem != NULL) ERR("Hash collision");
mem = value;