From a317b8d0d40cabfcf5cafb64a632a2c961bfb43c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 2 Jan 2011 09:56:17 +1100 Subject: Avoid cppcheck warnings. --- src/PositionCache.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/PositionCache.cxx') diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index 548b4d940..2ed152455 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -68,6 +68,8 @@ LineLayout::LineLayout(int maxLineLength_) : widthLine(wrapWidthInfinite), lines(1), wrapIndent(0) { + bracePreviousStyles[0] = 0; + bracePreviousStyles[1] = 0; Resize(maxLineLength_); } -- cgit v1.2.3