]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ErasureCodeLrc.h: fix UNINIT_CTOR
authorDanny Al-Gaaf <danny.al-gaaf@bisect.de>
Wed, 17 Sep 2014 17:28:11 +0000 (19:28 +0200)
committerSage Weil <sage@redhat.com>
Fri, 19 Sep 2014 18:34:59 +0000 (11:34 -0700)
commitf2a7d62c23b42c42e11158bea8860c70cab78124
tree383d2c7c5861176da4403701776ddc55251fb454
parent1a7482224c67fc101939807ffe91d8f262842ffe
ErasureCodeLrc.h: fix UNINIT_CTOR

Fix Coverity issue, preinit with 0:

uninit_member: Non-static class member chunk_count is not initialized
 in this constructor nor in any functions that it calls.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
(cherry picked from commit ea02dc37dc92613d2d35b9572e72c3b9ab6bbb69)
src/erasure-code/lrc/ErasureCodeLrc.h