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

Random fixes 2 #1017

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Random fixes 2 #1017

merged 4 commits into from
Sep 16, 2024

Conversation

axxel
Copy link
Contributor

@axxel axxel commented Sep 15, 2024

No description provided.

 * unused variables
 * implicit enum conversion
 * sigend <-> unsigned comparison
 * left shift negative number

The only warnings left on my setup right now are `-Wstringop-truncation`
from strncpy calls. Those are not trivial to fix. Turns out the code does
regularly not take into account that strncpy may not result in a null
terminated string. Details, see `man string_copying`.
@msmeissn msmeissn merged commit 2e17f8e into gphoto:master Sep 16, 2024
5 checks passed
@axxel axxel deleted the random-fixes-2 branch September 16, 2024 09:46
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