aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/PositionCache.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-01-02 09:56:17 +1100
committernyamatongwe <unknown>2011-01-02 09:56:17 +1100
commit2be32592356710eda9419a86da5d85e36a1c8cda (patch)
tree12631ad89c221a618cae930ae77ae4987f123217 /src/PositionCache.cxx
parentd02d58bee77d11650c5166e4d01172e0d2c0a130 (diff)
downloadscintilla-mirror-2be32592356710eda9419a86da5d85e36a1c8cda.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_);
}