aboutsummaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorJohannes Schickel2013-10-01 23:58:03 +0200
committerJohannes Schickel2013-10-02 00:16:59 +0200
commit45e7ba130e8dff1dc4545af8bce89d05baf79f96 (patch)
treee5e18480cb3675a0060ae886612b90be9b124aa5 /gui
parentdb5ff22410aa8d649b7c5afa443253526df62991 (diff)
downloadscummvm-rg350-45e7ba130e8dff1dc4545af8bce89d05baf79f96.tar.gz
scummvm-rg350-45e7ba130e8dff1dc4545af8bce89d05baf79f96.tar.bz2
scummvm-rg350-45e7ba130e8dff1dc4545af8bce89d05baf79f96.zip
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.
Diffstat (limited to 'gui')
-rw-r--r--gui/predictivedialog.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/gui/predictivedialog.cpp b/gui/predictivedialog.cpp
index 5ce093e054..c7d04e402e 100644
--- a/gui/predictivedialog.cpp
+++ b/gui/predictivedialog.cpp
@@ -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;