diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:58:07 +0100 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2019-01-22 14:58:07 +0100 |
commit | b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee (patch) | |
tree | 2c1658de6ef4055395a565fce62aa583d297b85b /hash.inc | |
parent | Makefile now places .o files in subdir. (diff) | |
download | calp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.gz calp-b0def51bf3ad5c176e05e9e93fb5b303c9b0d6ee.tar.xz |
Clean up a number of comments, and remove TODO's.
Diffstat (limited to 'hash.inc')
-rw-r--r-- | hash.inc | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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; |