https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108156
Bug ID: 108156
Summary: missing set but not used warning
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: muecker at gwdg dot de
Target Milestone: ---
We are missing a set but not used warning for:
void foo(int value)
{
value += 42;
}
This would be used for mistakes such as the following:
void foo(int* value)
{
value += 42;
}
