aboutsummaryrefslogtreecommitdiff
path: root/trie.inc.h
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2019-02-05 17:53:13 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2019-02-05 18:16:19 +0100
commita19be8473c3060c10c76c85d633dc546eabd447a (patch)
treefea97d5207a7c0b5783efc979ebbf9317ccbaba7 /trie.inc.h
parentFix append. (diff)
downloadcalp-a19be8473c3060c10c76c85d633dc546eabd447a.tar.gz
calp-a19be8473c3060c10c76c85d633dc546eabd447a.tar.xz
Fix most memmory problems.
Diffstat (limited to 'trie.inc.h')
-rw-r--r--trie.inc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/trie.inc.h b/trie.inc.h
index 50b8ec5b..fbc3b807 100644
--- a/trie.inc.h
+++ b/trie.inc.h
@@ -47,7 +47,6 @@ int PUSH(TRIE(TYPE)) ( TRIE(TYPE)* trie, char* key, TYPE* val ) {
last = t;
}
last->value = RESOLVE(TYPE)(last->value, val);
- // last->value = val;
return 0;
} else if (cur->c == subkey[0]) {
/* This node belongs to the key,