mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
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:
parent
db5ff22410
commit
45e7ba130e
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user