Skip to content

Commit

Permalink
rbd: Uninitialized Non-static class member reopen
Browse files Browse the repository at this point in the history
Fixed:

** CID 1402141 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member reopen is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
  • Loading branch information
amitkuma committed Aug 2, 2017
1 parent 6d7e4b4 commit eb1c368
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/librbd/librbd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ struct C_AioCompletion : public Context {
struct C_OpenComplete : public C_AioCompletion {
librbd::ImageCtx *ictx;
void **ictxp;
bool reopen;
C_OpenComplete(librbd::ImageCtx *ictx, librbd::io::AioCompletion* comp,
void **ictxp)
: C_AioCompletion(ictx, librbd::io::AIO_TYPE_OPEN, comp),
Expand Down

0 comments on commit eb1c368

Please sign in to comment.