From: Sebastian Harl Date: Wed, 11 Feb 2009 09:43:25 +0000 (+0100) Subject: Document unused parameters. X-Git-Tag: collectd-4.6.0~40 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=b72d521340383b6418fa6a75faca3bc45f06b14a;hp=b72d521340383b6418fa6a75faca3bc45f06b14a;p=collectd.git Document unused parameters. In all cases where unused parameters have to exist either because some API requires it or for more consistency, they now have been documented using __attribute__((unused)) (which is automatically disabled in case GCC is not used to prevent problems with compilers not supporting attributes). In a few other cases, the parameters have been removed. This allows the use of -Wunused-parameter (which is enabled by -Wextra as well, when using -Wall). ---