Revert "Avoid warning with Clang that doesn't have -Wunused-but-set-parameter"

This reverts commit d69bc9c939, which isn't needed
any more now that 01aa52b5e9 "Work around
-Werror,-Wunknown-pragmas" makes the whole pragma block conditional on

  __GNUC__ >= 7

(which Clang does not fulfill).
This commit is contained in:
Stephan Bergmann
2017-01-31 12:30:13 +01:00
parent 1b12381203
commit c866ace49f
4 changed files with 0 additions and 8 deletions

View File

@@ -12,10 +12,8 @@
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#endif
#endif
#include <libcmis/libcmis.hxx>
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic pop

View File

@@ -15,10 +15,8 @@
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#endif
#endif
#include <libcmis/libcmis.hxx>
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic pop

View File

@@ -27,10 +27,8 @@
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#endif
#endif
#include <libcmis/libcmis.hxx>
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic pop

View File

@@ -10,10 +10,8 @@
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wdeprecated"
#ifndef __clang__
#pragma GCC diagnostic ignored "-Wunused-but-set-parameter"
#endif
#endif
#include <libcmis/libcmis.hxx>
#if defined __GNUC__ && __GNUC__ >= 7
#pragma GCC diagnostic pop