This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Thus the only point I can see in the parameter is that it makes the interface compatible with the C++ front end - but this isn't being used anywhere (no common code calls comptypes). Do we really want to keep an unused parameter passed among four functions on the basis that it might be useful for interface compatibility in future?
Would it make sense to file a feature-request PR asking that -Wunused-parameter detect such situations?
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |