Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

common: various fixes from SCA runs #7680

Merged
merged 26 commits into from Feb 24, 2016
Merged

common: various fixes from SCA runs #7680

merged 26 commits into from Feb 24, 2016

Conversation

dalgaaf
Copy link
Contributor

@dalgaaf dalgaaf commented Feb 17, 2016

Several type of fixes:

  • remove unused variables
  • prefer ++operator for non-primitive iterators
  • fix compare same variables with itself
  • change some ctors to explicit
  • fix same variable names in parent and derived class
  • init member variables in constructor
  • remove unused code
  • replace inefficient string::find() w/ compare()
  • reduce scope of variables
  • update .gitignore

@gregsfortytwo
Copy link
Member

Client and MDS patches look fine. Didn't check the others.

@tchaikov
Copy link
Contributor

all commits reviewed. lgtm modulo some nits.

@tchaikov
Copy link
Contributor

lgtm.

@ghost ghost added rgw core cephfs Ceph File System common labels Feb 19, 2016
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Removed since 2007 unused code and fixed indentation.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
…ctor

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
@dalgaaf
Copy link
Contributor Author

dalgaaf commented Feb 19, 2016

rebased, dropped one patch that was already merged with an alternative patch

@tchaikov tchaikov added the rbd label Feb 19, 2016
@dillaman
Copy link

librbd changes lgtm

@liewegas liewegas changed the title Various fixes from SCA runs common: various fixes from SCA runs Feb 24, 2016
liewegas added a commit that referenced this pull request Feb 24, 2016
common: various fixes from SCA runs

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Jason Dillaman <jdillama@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
@liewegas liewegas merged commit 4229cd4 into master Feb 24, 2016
@dalgaaf dalgaaf deleted the wip-da-SCA-20160203 branch April 26, 2016 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants