Skip to content

Fix some style related issues found by cppcheck - #76

Merged
liewegas merged 12 commits into
ceph:masterfrom
dalgaaf:wip-da-sca-style
Feb 27, 2013
Merged

liewegas merged 12 commits into
ceph:masterfrom
dalgaaf:wip-da-sca-style

Conversation

@dalgaaf

@dalgaaf dalgaaf commented Feb 26, 2013

Copy link
Copy Markdown
Contributor

No description provided.

Remove unneeded function declarations (data_analysis() is unused and
usage() is not needed).

Signed-off-by: Danny Al-Gaaf <[email protected]>
Follow 'Throw by value, catch by reference' to void copying and
potential slicing the exception.

Signed-off-by: Danny Al-Gaaf <[email protected]>
Follow 'Throw by value, catch by reference' to void copying and
potential slicing the exception.

Signed-off-by: Danny Al-Gaaf <[email protected]>
Add parenthesis around expressions like (x && y & z).

Signed-off-by: Danny Al-Gaaf <[email protected]>
Add parenthesis around expressions like (x && y & z).

Signed-off-by: Danny Al-Gaaf <[email protected]>
Add parenthesis around expressions like (x && y & z).

Signed-off-by: Danny Al-Gaaf <[email protected]>
Add parenthesis around expressions like (x && y & z).

Signed-off-by: Danny Al-Gaaf <[email protected]>
Remove unused variable declarations.

Signed-off-by: Danny Al-Gaaf <[email protected]>
Pass 'const string name' function parameter by reference.

Signed-off-by: Danny Al-Gaaf <[email protected]>
Use static_cast<T>() instead of C-Style cast.

Signed-off-by: Danny Al-Gaaf <[email protected]>
Reduce the scope of some variables.

Signed-off-by: Danny Al-Gaaf <[email protected]>
from cppcheck:
 Fix Suspicious condition (assignment + comparison); Clarify
 expression with parentheses.

Signed-off-by: Danny Al-Gaaf <[email protected]>
liewegas added a commit that referenced this pull request Feb 27, 2013
Fix some style related issues found by cppcheck

Reviewed-by: Sage Weil <[email protected]>
@liewegas
liewegas merged commit 3768050 into ceph:master Feb 27, 2013
@dalgaaf
dalgaaf deleted the wip-da-sca-style branch February 27, 2013 11:25
chamdoo pushed a commit to chamdoo/ceph that referenced this pull request Nov 13, 2015
liewegas pushed a commit that referenced this pull request Dec 14, 2016
Added ec-readwrite.yaml to the mix to enable erasure code coverage

Reviewed-by: Josh Durgin <[email protected]>
Devp00l pushed a commit to Devp00l/ceph that referenced this pull request Feb 9, 2018
mgr/dashboard_v2: Add support for nested controllers
liewegas pushed a commit to liewegas/ceph that referenced this pull request Nov 5, 2021
Press release categories layout, articles dictionary item
andriytk referenced this pull request in andriytk/cortx-rgw Feb 11, 2022
* dco check workflow (#65)

Signed-off-by: Mukul Malhotra <[email protected]>
Signed-off-by: Jeet Jain <[email protected]>

* Added the Alex workflow

Signed-off-by: Venkatesh K <[email protected]>
Signed-off-by: Jeet Jain <[email protected]>

* get user by accesskey function

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: add access key functions

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: add function for user_info

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: add optional parameter in load_user_from_idx()

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: add optional parameter in load_user_from_idx()

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: restore log level

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: moved MGWAccessKey in motr sal code

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: addressed review comments

Signed-off-by: Jeet Jain <[email protected]>

* rgw_sal_motr: changed MGWAccessKey to MotrAccessKey

Signed-off-by: Jeet Jain <[email protected]>

Co-authored-by: mukul-seagate11 <[email protected]>
Co-authored-by: Venkatesh K <[email protected]>
andriytk referenced this pull request in andriytk/cortx-rgw Apr 1, 2022
…#76)

Enable access and secret keys for RGW Motr user by replacing hard
coded access key values with correct implementation.

Signed-off-by: Jeet Jain <[email protected]>
galsalomon66 referenced this pull request in galsalomon66/ceph Sep 17, 2022
Include timezone hour and minute in date time calculation.
Changes made to all the date time function to support the same.
Updated tests to check timezone corretness.

Signed-off-by: Girjesh Rajoria <[email protected]>
irq0 pushed a commit to irq0/ceph that referenced this pull request Dec 19, 2022
rgw/sfs: simplify SFSGC initialization/lifetime
athanatos pushed a commit to athanatos/ceph that referenced this pull request Feb 14, 2025
Make K use a standard type

Reviewed-by: J. Eric Ivancich <[email protected]>
Reviewed-by: Kefu Chai <[email protected]>
Moisi pushed a commit to Moisi/ceph that referenced this pull request Jun 30, 2025
…y/Jaeger traces

Merge in STORAGEENG/ceph from CEPH-49-add-otel-traceid-parent-to-traces to aka_version_18.2.1

* commit '63fe4bd724ab7dcfb2f9630ac05c24bf1e4617f6':
  Don't need <T> here.
  Set some extra attributes (tags) on rgw traces.
  Dead code
  Missed a line
  If we have traceparent, call our new trace creator.
  Add start_trace_with_req_state_parent().
  Save traceparent and tracestate in req_state.
  Don't pass RGWEnv to trace id utility function.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants