diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:33:09 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-04 02:33:09 +0200 |
commit | 8e1dcecd79a91976629362c2a05f5c1ef2495710 (patch) | |
tree | 9c7b9e376d8d887ec018402cd99bee391ab43908 /src/libgamma-method.cc | |
parent | fix warnings (diff) | |
download | libgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.gz libgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.bz2 libgammamm-8e1dcecd79a91976629362c2a05f5c1ef2495710.tar.xz |
add -Wshadow
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma-method.cc')
-rw-r--r-- | src/libgamma-method.cc | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/libgamma-method.cc b/src/libgamma-method.cc index 16d61ff..dae9929 100644 --- a/src/libgamma-method.cc +++ b/src/libgamma-method.cc @@ -332,7 +332,10 @@ namespace libgamma return *this; } - +#ifdef __GCC__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wshadow" +#endif /** * Constructor. @@ -540,5 +543,9 @@ namespace libgamma return r != 0; } +#ifdef __GCC__ +# pragma GCC diagnostic pop +#endif + } |