Re: [PATCH] Small hooks.c cleanup

2016-09-23 Thread Richard Biener
On September 23, 2016 7:04:29 PM GMT+02:00, Jakub Jelinek wrote: >Hi! > >The generic hooks (except for one mistaken case) don't use any of the >arguments, and are generally meant to be used by any hooks that have >such >arguments, so giving them names isn't really meaningful. >So, this patch uses

[PATCH] Small hooks.c cleanup

2016-09-23 Thread Jakub Jelinek
Hi! The generic hooks (except for one mistaken case) don't use any of the arguments, and are generally meant to be used by any hooks that have such arguments, so giving them names isn't really meaningful. So, this patch uses the C++ nameless parameters type instead of type name ATTRIBUTE_UNUSED.