aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-01-02 09:56:17 +1100
committernyamatongwe <devnull@localhost>2011-01-02 09:56:17 +1100
commita317b8d0d40cabfcf5cafb64a632a2c961bfb43c (patch)
tree3b6c5b6d63bd9c6571b150e7915ca0a45ff24dbd /src/PositionCache.cxx
parent45a9984b8ed3d8055690472dfe9e8b0e90fe73fc (diff)
downloadscintilla-mirror-a317b8d0d40cabfcf5cafb64a632a2c961bfb43c.tar.gz
Avoid cppcheck warnings.
Diffstat (limited to 'src/PositionCache.cxx')
-rw-r--r--src/PositionCache.cxx2
1 files changed, 2 insertions, 0 deletions
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_);
}