From 45e7ba130e8dff1dc4545af8bce89d05baf79f96 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 1 Oct 2013 23:58:03 +0200 Subject: 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. --- gui/predictivedialog.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'gui/predictivedialog.cpp') 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; -- cgit v1.2.3