-
-
Notifications
You must be signed in to change notification settings - Fork 365
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
nutwriter.hpp / -Wmaybe-uninitialized warning #2433
Comments
Probably fallout of #2425 / #2294 although the last few commits were about squashing this sort of issue with bogus usages of the "Bogus" IMHO in the sense that this class and its usages (unless something was missed) separately tracks if the payload was That said, the issues I was addressing - as well as this one - happened to |
…uninitialized in this function" warnings [networkupstools#2294, networkupstools#2433] Signed-off-by: Jim Klimov <[email protected]>
…ow() if it was not yet set() at all or since last clear() [networkupstools#2294, networkupstools#2433] Signed-off-by: Jim Klimov <[email protected]>
…rs [networkupstools#2433] Signed-off-by: Jim Klimov <[email protected]>
UPDATE: The warning above pointed to another use-case similar to the one I plugged in the original PR. No idea why my copy of gcc (and all those on NUT CI) at most complained there and not here for essentially same pattern. |
Hello! I caught this one today building the current master on Slackware 15.1 with gcc 13.2.0
The text was updated successfully, but these errors were encountered: