fix some issues from cppchecker/clang++
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest8 patches 1 replyIn review
- v18 patches 4 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | WorkQueue.h: fix castsrc/ | +2 | 0 replies | |
| 2/8 | ceph_crypto.cc: remove unused shutdown() outside crypto ifdef'ssrc/ | +0 | 0 replies | |
| 3/8 | obj_bencher.cc: use vector instead of VLA'ssrc/ | +7 | 0 replies | |
| 4/8 | include/buffer.h: fix operator=src/ | +5 | 0 replies | |
| 5/8 | include/types.h: change operator<< function parametersrc/ | +1 | 0 replies | |
| 6/8 | include/xlist.h: fix C-style pointer castingsrc/ | +3 | 0 replies | |
| 7/8 | messages/MOSDRepScrub.h: initialize member variable in constructorsrc/ | +4 | 0 replies | |
| 8/8 | msg/Message.h: fix C-style pointer castingsrc/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/8] fix some issues from cppchecker/clang++
These patches fix some issues found by using cppchecker/clang++.
---
v2: - [4/8]: don't copy append_buffer and last_p
- [7/8]: use C++ initalize syntax for constructor
Danny Al-Gaaf (8):
WorkQueue.h: fix cast
ceph_crypto.cc: remove unused shutdown() outside crypto ifdef's obj_bencher.cc: use vector instead of VLA's include/buffer.h: fix operator=
include/types.h: change operator<< function parameter include/xlist.h: fix C-style pointer casting messages/MOSDRepScrub.h: initialize member variable in constructor msg/Message.h: fix C-style pointer casting
src/common/WorkQueue.h | 4 ++-- src/common/ceph_crypto.cc | 1 - src/common/obj_bencher.cc | 13 +++++++------ src/include/buffer.h | 8 +++++--- src/include/types.h | 2 +- src/include/xlist.h | 6 +++--- src/messages/MOSDRepScrub.h | 5 ++++- src/msg/Message.h | 4 ++-- 8 files changed, 24 insertions(+), 19 deletions(-)
Signature · 1 line
1.8.1.2