Opened 2 years ago

Closed 2 years ago

#127 closed enhancement (fixed)

Anonymous parameters should have attribute((unused)) implicitly

Reported by: Thierry Delisle Owned by:
Priority: minor Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

This code creates a warning and shouldn't :

int foo(int) { return 3; }

Change History (2)

comment:1 Changed 2 years ago by ajbeach

Fixed in commit 76f7fc734a09409f02e2b52d5645a0d39e9c567b. I didn't auto-close but I got a passing build.

comment:2 Changed 2 years ago by ajbeach

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.