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 minor GCC10 static analyzer warnings #7255

Merged
merged 2 commits into from
May 1, 2020

Conversation

earlephilhower
Copy link
Collaborator

Add minor NULL and double-free checks to source, identified using GCC10
pre-release static -fanalyzer on the coude. These are harmless to
other versions.

Also add explicit include of stdint to Schedule.h, because libstdc++20
will not automatically include it. Safe and no-op on earlier versions.

Add minor NULL and double-free checks to source, identified using GCC10
pre-release static `-fanalyzer` on the coude.  These are harmless to
other versions.

Also add explicit include of stdint to Schedule.h, because libstdc++20
will not automatically include it.  Safe and no-op on earlier versions.
@earlephilhower earlephilhower added this to the 2.7.0 milestone Apr 30, 2020
@earlephilhower earlephilhower merged commit 388d302 into esp8266:master May 1, 2020
@earlephilhower earlephilhower deleted the gcc10warn branch May 1, 2020 01:25
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.

None yet

2 participants