I am getting the following valerind error.
==9649== Conditional jump or move depends on uninitialised value(s)
==9649== at 0x80493AD: check (dictionary.c:152)
==9649== by 0x8048A6D: main (speller.c:119)
==9649==
Here is my code around dictionary.c:152. This is basically a string compare that takes into account capitalization.
for (spell = fletter[fletterc]; spell!= NULL; spell=spell->next)
{
for (int j=0; spell->n[j] != '\0'; j++)
{
char letterx = spell->n[j];
char lettery = word[j];
if (letterx != lettery && letterx +('a'-'A') != lettery && letterx-('a'-'A') != lettery)
{
break;
}
else if (word[j+1] == '\0')
{
return true;
}
}
}