]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
Finisher: fix uninitialized variable warning 14958/head
authorPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 4 May 2017 15:58:12 +0000 (17:58 +0200)
committerPiotr Dałek <piotr.dalek@corp.ovh.com>
Thu, 4 May 2017 15:58:12 +0000 (17:58 +0200)
commit635154561b3bdc2219e9c9093025c695bdf8d065
tree479a8726ca733022ac748520327df4c820b12b9c
parent81872fdb3f53f1c3f67294fb74cfaffadedd0b4b
Finisher: fix uninitialized variable warning

This silences the following warning:

Finisher.cc: In member function ‘void*
Finisher::finisher_thread_entry()’:
Finisher.cc:89:42: warning: ‘count’ may be used uninitialized in this
function [-Wmaybe-uninitialized]
  logger->dec(l_finisher_queue_len, count);
                                         ^

Signed-off-by: Piotr Dałek <piotr.dalek@corp.ovh.com>
src/common/Finisher.cc