summaryrefslogtreecommitdiff
path: root/wk5/pset
diff options
context:
space:
mode:
Diffstat (limited to 'wk5/pset')
-rw-r--r--wk5/pset/speller/dictionary.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/wk5/pset/speller/dictionary.c b/wk5/pset/speller/dictionary.c
index 5e5cff1..54b4b24 100644
--- a/wk5/pset/speller/dictionary.c
+++ b/wk5/pset/speller/dictionary.c
@@ -99,12 +99,8 @@ bool load(const char *dictionary)
if (table[val] != NULL)
{
ptr->next = table[val];
- table[val] = ptr;
}
- else
- {
table[val] = ptr;
- }
}
// Close the dictionary file