I've got my speller working fine and without errors, but it does not currently pass check50 as Valgrind finds few issues. My problem is that I do not understand at all what they are, what is causing them and thus how to fix it. I have tried googling a bit, but everything I find is still too complex for me to understand.
Here's the snippet from valgrind that is giving me problems currently:
==9233== Conditional jump or move depends on uninitialised value(s)
==9233== at 0x59ACE8F: tolower (ctype.c:46)
==9233== by 0x422474: check (dictionary.c:23)
==9233== by 0x4213F3: main (speller.c:112)
==9233== Uninitialised value was created by a stack allocation
==9233== at 0x4208F4: main (speller.c:21)
==9233==
==9233== Use of uninitialised value of size 8
==9233== at 0x59ACEA3: tolower (ctype.c:46)
==9233== by 0x422474: check (dictionary.c:23)
==9233== by 0x4213F3: main (speller.c:112)
==9233== Uninitialised value was created by a stack allocation
==9233== at 0x4208F4: main (speller.c:21)
==9233==