diff options
author | William M. Brack <wbrack@src.gnome.org> | 2003-11-05 03:16:46 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2003-11-05 03:16:46 +0000 |
commit | 9d9bdf0b0a5bccb7ce808cbe195e944428af5340 (patch) | |
tree | bc923b6dae131162f3463ac0bc590c373dcbfadf /libxslt/xsltconfig.h.in | |
parent | a7339040ed4172f5420ade87799d432bf046ec69 (diff) | |
download | libxslt-9d9bdf0b0a5bccb7ce808cbe195e944428af5340.tar.gz |
Minor enhancements to eliminate compile/test warnings
* libxslt/xsltconfig.h.in, libexstl/exsltconfig.h.in:
changed macro ATTRIBUTE_UNUSED for gcc so that, if undefined,
it's defined as __attribute__((unused))
* python/libxslt.c: fixed ATTRIBUTE_UNUSED to appear after
variable declaration
* libxslt/preproc.c: minor change to get rid of unused var/code
Diffstat (limited to 'libxslt/xsltconfig.h.in')
-rw-r--r-- | libxslt/xsltconfig.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libxslt/xsltconfig.h.in b/libxslt/xsltconfig.h.in index 00ce654b..98156382 100644 --- a/libxslt/xsltconfig.h.in +++ b/libxslt/xsltconfig.h.in @@ -105,7 +105,7 @@ extern "C" { #include <ansidecl.h> #endif #ifndef ATTRIBUTE_UNUSED -#define ATTRIBUTE_UNUSED +#define ATTRIBUTE_UNUSED __attribute__((unused)) #endif #else #define ATTRIBUTE_UNUSED |