]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test/rados-api/aio: fix uninit ptr
authorSage Weil <sage@inktank.com>
Fri, 24 Aug 2012 23:19:26 +0000 (16:19 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 Aug 2012 20:11:04 +0000 (13:11 -0700)
Coverity cid #717392
Signed-off-by: Sage Weil <sage@inktank.com>
src/test/rados-api/aio.cc

index 784de6269bb88d6041f2894f6d39a99862fe9685..b75d0d07830b65e0d919069567c8e6eb806f2aaa 100644 (file)
@@ -16,7 +16,8 @@ class AioTestData
 {
 public:
   AioTestData()
-    : m_init(false),
+    : m_cluster(NULL),
+      m_init(false),
       m_complete(false),
       m_safe(false)
   {