Opened 5 years ago
#155 new defect
Missing error message
Reported by: | pabuhr | Owned by: | |
---|---|---|---|
Priority: | minor | Component: | cfa-cc |
Version: | 1.0 | Keywords: | |
Cc: |
Description
void fred() { return 0; }
does not print an error messages because a void cast is generated
return ((void)0);
This void cast should not appear in this context.
Note: See
TracTickets for help on using
tickets.