Skip to content

Partial fix for 9049: False negative: uninitialized variable with nested ifs#8680

Open
pfultz2 wants to merge 34 commits into
cppcheck-opensource:mainfrom
pfultz2:valueflow-forward-condition-fork3
Open

Partial fix for 9049: False negative: uninitialized variable with nested ifs#8680
pfultz2 wants to merge 34 commits into
cppcheck-opensource:mainfrom
pfultz2:valueflow-forward-condition-fork3

Cleanup

6eca4c2
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / Cppcheck Premium succeeded Jul 1, 2026 in 4s

7 new alerts

New alerts in code changed by this pull request

  • 7 warnings

See annotations below for details.

View all branch alerts.

Annotations

Check warning on line 549 in lib/programmemory.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not dereference null pointers Warning

Do not dereference null pointers

Check warning on line 550 in lib/programmemory.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not dereference null pointers Warning

Do not dereference null pointers

Check warning on line 1324 in lib/programmemory.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Do not dereference null pointers Warning

Do not dereference null pointers

Check warning on line 169 in lib/programmemory.h

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Use meaningful symbolic constants to represent literal values. Warning

Use meaningful symbolic constants to represent literal values.

Check warning on line 171 in lib/programmemory.h

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Use meaningful symbolic constants to represent literal values. Warning

Use meaningful symbolic constants to represent literal values.

Check warning on line 358 in lib/settings.cpp

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Use meaningful symbolic constants to represent literal values. Warning

Use meaningful symbolic constants to represent literal values.

Check warning on line 522 in lib/settings.h

See this annotation in the file changed.

Code scanning / Cppcheck Premium

Use meaningful symbolic constants to represent literal values. Warning

Use meaningful symbolic constants to represent literal values.