summaryrefslogtreecommitdiff
path: root/wk5/pset
diff options
context:
space:
mode:
authorFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:49:22 +0000
committerFudgerboy <91767657+Fudgerboy@users.noreply.github.com>2024-04-29 02:49:22 +0000
commit5c5344da3f2af1f8379f19d8393674a3c47ab499 (patch)
treea394f4b9b774641ee1645bf0d7a27a38bc4e6315 /wk5/pset
parentac7b62ee5230c957df4110e6afe45676e0ede6a3 (diff)
Sun, Apr 28, 2024, 7:49 PM -07:00
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