author | Sebastian Harl <sh@tokkee.org> | |
Wed, 11 Feb 2009 09:43:25 +0000 (10:43 +0100) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Wed, 11 Feb 2009 09:43:25 +0000 (10:43 +0100) | ||
commit | b72d521340383b6418fa6a75faca3bc45f06b14a | |
tree | 836bc17963426eaf3163ce66a399114544fe1852 | tree | snapshot |
parent | 388dfe0e1f32cf379f30ac6486e4926e8461fcc5 | commit | diff |
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).
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).
30 files changed: