]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/Accepter: move nonce init to ctor
authorSage Weil <sage@inktank.com>
Sat, 25 Aug 2012 03:07:20 +0000 (20:07 -0700)
committerSage Weil <sage@inktank.com>
Fri, 31 Aug 2012 20:11:35 +0000 (13:11 -0700)
commit4eb31463e93a61b05f73c466c61153f2e825b98c
treee17c613cc122dd10f81f142108c90e95ab9c5e0f
parent46c08d6c287741875167db7073e18251d4b669dc
msg/Accepter: move nonce init to ctor

This was suggested by Greg too but I was too lazy.

CID 717331: Uninitialized scalar field (UNINIT_CTOR)
At (2): Non-static class member "nonce" is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Sage Weil <sage@inktank.com>
src/msg/Accepter.cc
src/msg/Accepter.h
src/msg/SimpleMessenger.cc