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

lgtm c issues #43

Closed
avan989 opened this issue Dec 17, 2019 · 1 comment · Fixed by #92 or #101
Closed

lgtm c issues #43

avan989 opened this issue Dec 17, 2019 · 1 comment · Fixed by #92 or #101
Assignees
Labels
bug Something isn't working
Milestone

Comments

@avan989
Copy link
Contributor

avan989 commented Dec 17, 2019

Describe the bug
Issues report from LGTM.

SendUdp.h
This header file should contain a header guard to prevent multiple inclusion.

cmdUtil.c:

 line - 213, 254, 274, 293, 318, 339
void ProcessStringArgument(char *optarg, CommandData_t *CommandData) {
--
  | Parameter CommandData hides a global variable with the same name.

cmdUtil.c

line 62 -84
Struct struct <unnamed> has 16 fields; we suggest refactoring to 15 fields or fewer.

To Reproduce
Steps to reproduce the behavior:

  1. Build against Lgtm

Reporter Info
Anh Van, NASA Goddard

@skliper skliper added the enhancement New feature or request label Mar 16, 2020
@lbleier-GSFC
Copy link
Contributor

This issue has been updated to be C-related only; Python issues have been consolidated into issue #46

@skliper skliper changed the title lgtm issues lgtm c issues Apr 13, 2020
skliper added a commit to skliper/cFS-GroundSystem that referenced this issue May 21, 2020
Added header guard
Removed local parameter hiding global
skliper added a commit to skliper/cFS-GroundSystem that referenced this issue May 21, 2020
Added header guard
Removed local parameter hiding global
@skliper skliper self-assigned this May 21, 2020
skliper added a commit to skliper/cFS-GroundSystem that referenced this issue May 26, 2020
Added header guard
Removed local parameter hiding global
@astrogeco astrogeco added bug Something isn't working and removed enhancement New feature or request labels Oct 1, 2020
@astrogeco astrogeco added this to the 2.2.0 milestone Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
4 participants