From 5c5344da3f2af1f8379f19d8393674a3c47ab499 Mon Sep 17 00:00:00 2001
From: Fudgerboy <91767657+Fudgerboy@users.noreply.github.com>
Date: Mon, 29 Apr 2024 02:49:22 +0000
Subject: Sun, Apr 28, 2024, 7:49 PM -07:00

---
 wk5/pset/speller/dictionary.c | 4 ----
 1 file changed, 4 deletions(-)

(limited to 'wk5')

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
-- 
cgit v1.2.3