This repository was archived by the owner on Feb 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 80
CORTX-34159: Address and fix Codacy issues in C file (hax.c) #2159
Merged
Conversation
This file contains hidden or 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
Solution: 1. Some motr struct asserts were called after the local variable assignments were done. 2. 1 variable (obj_name) had wider scope than necessary. Signed-off-by: Deepak Nayak <[email protected]>
Signed-off-by: Deepak Nayak <[email protected]>
Shreya-18
approved these changes
Sep 9, 2022
seagate-sarang-sawant
approved these changes
Sep 9, 2022
Contributor
Author
|
The 3 issues that Codacy had flagged in hax.c have been resolved as per latest Codacy report: https://app.codacy.com/gh/Seagate/cortx-hare/pullRequest?prid=10117925&bid=30956459 |
Contributor
Author
|
@supriyachavan4398 - please test it on 3N / 5N setup and post component QA results please. |
Contributor
|
Created custom build at https://eos-jenkins.colo.seagate.com/job/GitHub-custom-ci-builds/job/generic/job/custom-ci/7809/console cc. @d-nayak, @vaibhavparatwar |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem:
Codacy flags issues in hax.c C code
Solution:
Signed-off-by: Deepak Nayak [email protected]