]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Clean issues detected by cppcheck 13199/head
authorIlya Shipitsin <chipitsine@gmail.com>
Tue, 31 Jan 2017 12:07:39 +0000 (17:07 +0500)
committerIlya Shipitsin <chipitsine@gmail.com>
Tue, 31 Jan 2017 12:07:39 +0000 (17:07 +0500)
commit7dfb9b230c3472dbe9a88acf55ecfb046af2ccfe
treea771111057c2eabe5bee399c4def50e4d5e8cf1f
parent6226aecef218708e8ab73b70f499064696392dae
Clean issues detected by cppcheck

[src/mds/MDLog.cc:1172] -> [src/mds/MDLog.cc:1173]: (warning) Either the condition 'sle!=NULL' is redundant or there is possible null pointer dereference: sle.
[src/mon/MDSMonitor.cc:2622] -> [src/mon/MDSMonitor.cc:2625]: (warning) Either the condition 'mds_map!=nullptr' is redundant or there is possible null pointer dereference: mds_map.

Signed-off-by: Ilya Shipitsin <chipitsine@gmail.com>
src/mds/MDLog.cc
src/mon/MDSMonitor.cc