GUI: Fix compilation with clang and C++11.

newDictLine is allocated with calloc in line 856 thus there is no need to
initialize any entry.
This commit is contained in:
Johannes Schickel 2013-10-01 23:58:03 +02:00
parent db5ff22410
commit 45e7ba130e

View File

@ -861,7 +861,6 @@ void PredictiveDialog::addWord(Dict &dict, const Common::String &word, const Com
return;
}
newDictLine[dict.dictLineCount] = '\0';
int k = 0;
bool inserted = false;