Commit e0c6b11
committed
Suppress Cppcheck "unused label" warnings
The commit 1d68fae introduced an anonymous bit field, which triggers a
false positive in Cppcheck 2.13.0 (provided by Ubuntu 24.04):
"Label 'int' is not used. [unusedLabel]".
Although newer versions of Cppcheck resolve this issue, version 2.13 is
still preferable for minimal development environment changes. Instead of
switching versions, this commit drops the anonymous bit field to prevent
the Cppcheck warning.
Reported-by: backink <backink1994@gmail.com>
Co-authored-by: Lumynous <lumynou5.tw@gmail.com>
Change-Id: I12575573258acbd13df05be86d05ca42251cabe61 parent 2bda9b9 commit e0c6b11
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
416 | 416 | | |
417 | 417 | | |
418 | 418 | | |
419 | | - | |
| 419 | + | |
420 | 420 | | |
421 | 421 | | |
422 | 422 | | |
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
460 | | - | |
461 | | - | |
| 460 | + | |
| 461 | + | |
462 | 462 | | |
463 | 463 | | |
464 | 464 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
0 commit comments