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

capture_RPiHQ.cpp: compiler warning #839

Merged
merged 2 commits into from
Dec 4, 2021
Merged

Conversation

EricClaeys
Copy link
Collaborator

The "extra text" file hasn't yet been fully implemented in the RPiHQ capture program, but variables to activate it are there. This causes compiler messages about "variable set but not used". This is not an issue, but some users have mentioned it, thinking it's an error.
I added a dummy line to keep the compiler quiet. This line will be removed when the "extra text" file is implemented.

Fixes #833.

The "extra text" file hasn't yet been fully implemented in the RPiHQ capture program, but variables to activate it are there.  This causes compiler messages about "variable set but not used".  This is not an issue, but some users have mentioned it, thinking it's an error.
I added a dummy line to keep the compiler quiet.  This line will be removed when the "extra text" file is implemented.

Fixes #833.
Increase size of array to keep complier quiet about possibly overrunning array.
Copy link
Collaborator

@AndreasLMeg AndreasLMeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fits, but has not been tested

@EricClaeys EricClaeys merged commit f5c0c38 into master Dec 4, 2021
@EricClaeys EricClaeys deleted the keep-compiler-quiet branch December 4, 2021 18:20
@AndreasLMeg
Copy link
Collaborator

@EricClaeys warning free - thanks !

pi@allsky:~/allsky $ make all
make[1]: Entering directory '/home/pi/allsky/src'
2021-12-04 19:31:08 Building capture program...
2021-12-04 19:31:34 Done.
2021-12-04 19:31:34 Building capture_RPiHQ program...
2021-12-04 19:32:04 Done.
2021-12-04 19:32:04 Building startrails program...
2021-12-04 19:32:25 Done.
2021-12-04 19:32:25 Building keogram program...
2021-12-04 19:32:49 Done.

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.

new git pull 12/03/2021 @ 12:29 eST
2 participants