summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-04 17:38:50 +0100
committerBjoern Michaelsen <bjoern.michaelsen@canonical.com>2014-12-04 17:47:47 +0100
commit1b53effc6e1b305aed4f7ea59db13ffac55fe28c (patch)
tree769314f2106b4923687b83f55c07facc1b98f389 /sw
parent917d505bff114f6431368c61565720ba41b1d067 (diff)
cid#1256669: uninit ptr field
Change-Id: I6e3c5ac5281052b49c734b152ad4cd83021c6de9
Diffstat (limited to 'sw')
-rw-r--r--sw/inc/ring.hxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/inc/ring.hxx b/sw/inc/ring.hxx
index bca6dba07f0a..7c898a0a13b1 100644
--- a/sw/inc/ring.hxx
+++ b/sw/inc/ring.hxx
@@ -80,6 +80,7 @@ namespace sw
* are alone in one.
*/
Ring()
+ : pPrev(static_cast< T* >(this))
{ algo::init_header(static_cast< T* >(this)); }
/**
* Creates a new item and add it to an existing ring container.