From 3fe1e9176d4383b1c84d5f5e8631dcf8e931f1eb Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 25 Jun 2013 20:48:12 +0000 Subject: (svn r25473) -Fix: uninitialised warning --- src/gfx_layout.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gfx_layout.cpp') diff --git a/src/gfx_layout.cpp b/src/gfx_layout.cpp index 861f390a9..4148d0548 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; -- cgit v1.2.3-54-g00ecf