From da9508d5e3fd0a06c6cf2458cb0ffdd84c1ef17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Thu, 3 Oct 2013 17:17:21 +0200 Subject: [PATCH] rtf: fixed a warning about an uninitialized variable. --- src/add-ons/translators/rtf/convert.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/translators/rtf/convert.cpp b/src/add-ons/translators/rtf/convert.cpp index ea897e66ab..f1984764a0 100644 --- a/src/add-ons/translators/rtf/convert.cpp +++ b/src/add-ons/translators/rtf/convert.cpp @@ -411,7 +411,7 @@ TextOutput::GroupEnd(RTF::Group *group) if (!fProcessRuns) return; - text_run *last; + text_run *last = NULL; fGroupStack.Pop(&last); // has the style been changed?