On Thu, Sep 13, 2012 at 9:00 AM, Paolo Carlini <paolo.carl...@oracle.com> wrote: > On 09/11/2012 06:53 PM, Gabriel Dos Reis wrote: >> >> On Tue, Sep 11, 2012 at 10:37 AM, Jakub Jelinek <ja...@redhat.com> wrote: >>> >>> On Tue, Sep 11, 2012 at 05:29:12PM +0200, Paolo Carlini wrote: >>>> >>>> PS: slightly interesting, in a couple of cases - >>>> write_unnamed_type_name, wrap_cleanups_r - the parameters were >>>> actually used. >>> >>> Just a general comment, often an argument is only conditionally used, >>> e.g. depending on some preprocessor macro (e.g. target hook). In that >>> case unnamed parameter is not an option, but dropping ATTRIBUTE_UNUSED is >>> not desirable either. >> >> That a parameter is unused in a function body should be clear from the >> context. >> And in those case, it is desirable that the parameter be unnamed, and >> the attribute >> be dropped. That is what Paolo's patch is doing. That should not be >> controversial. > > Thanks. Thus, I suppose I can ho ahead... If I don't hear further comments, > tonight I will. > > Paolo.
Indeed. -- Gaby