Skip to content

Fix minor GCC10 static analyzer warnings#7255

Merged
earlephilhower merged 2 commits intoesp8266:masterfrom
earlephilhower:gcc10warn
May 1, 2020
Merged

Fix minor GCC10 static analyzer warnings#7255
earlephilhower merged 2 commits intoesp8266:masterfrom
earlephilhower:gcc10warn

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.

2 participants