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

fix a bunch of -Wall warnings, part 3 #595

Merged
merged 17 commits into from
Aug 2, 2024

Conversation

benoit-pierre
Copy link
Contributor

@benoit-pierre benoit-pierre commented Aug 1, 2024

This change is Reviewable

crengine/src/lvtinydom.cpp Outdated Show resolved Hide resolved
@poire-z
Copy link
Contributor

poire-z commented Aug 1, 2024

May be the lvxml: fix compiler warning [-Wunused-private-field] commit deserve having as the commit message what you explained to me in the other PR ?
#579 (comment)

The code `enum { } formatFlags_t` was actually declaring a private
(unused) field, not a type: make it a proper type declaration and
use it where applicable (e.g. the `formatFlags` private field).
If `PDBHdr->read` succeed, the structure is initialized anyway.
@poire-z poire-z merged commit 959d28a into koreader:master Aug 2, 2024
1 check passed
@benoit-pierre benoit-pierre deleted the pr/fix_-Wall_warnings_part3 branch August 2, 2024 17:44
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.

3 participants