-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
librados: init all variables in ctors
C_aio_sparse_read_Ack's members are filled in by the only caller immediately after construction, so make them arguments to the constructor. CID 717218: Uninitialized pointer field (UNINIT_CTOR) At (4): Non-static class member "m" is not initialized in this constructor nor in any functions that it calls. WatchContext: these variables are unused, so remove them. CID 717217: Uninitialized scalar field (UNINIT_CTOR) At (4): Non-static class member "ver" is not initialized in this constructor nor in any functions that it calls. Signed-off-by: Josh Durgin <[email protected]>
- Loading branch information
Showing
2 changed files
with
9 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters