From 3fe1e9176d4383b1c84d5f5e8631dcf8e931f1eb Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 25 Jun 2013 20:48:12 +0000 Subject: [PATCH] (svn r25473) -Fix: uninitialised warning --- src/gfx_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index 861f390a9d..4148d05489 100644 --- a/src/gfx_layout.cpp +++ b/src/gfx_layout.cpp @@ -282,7 +282,7 @@ ParagraphLayout::Line *ParagraphLayout::nextLine(int max_width) Line *l = new Line(); const WChar *begin = this->buffer; - WChar *last_space; + WChar *last_space = NULL; const WChar *last_char = begin; int width = 0;