summaryrefslogtreecommitdiffstats
path: root/ucb
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2017-01-31 12:18:29 +0200
committerTor Lillqvist <tml@collabora.com>2017-01-31 12:19:36 +0200
commitd69bc9c939b94718ac9e17a62f62ae7ae87776e5 (patch)
treeafe8e32ddad2178d7c0058c86bee7b8fc0e90e41 /ucb
parentwe don't actually need width amount of data in advance to fill the width (diff)
downloadcore-d69bc9c939b94718ac9e17a62f62ae7ae87776e5.tar.gz
core-d69bc9c939b94718ac9e17a62f62ae7ae87776e5.zip
Avoid warning with Clang that doesn't have -Wunused-but-set-parameter
Change-Id: I8d016e9959898a90bff9d1e4734cbef37592a97e
Diffstat (limited to 'ucb')
-rw-r--r--ucb/source/ucp/cmis/auth_provider.hxx2
-rw-r--r--ucb/source/ucp/cmis/certvalidation_handler.hxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_content.hxx2
-rw-r--r--ucb/source/ucp/cmis/cmis_url.cxx2
4 files changed, 8 insertions, 0 deletions
diff --git a/ucb/source/ucp/cmis/auth_provider.hxx b/ucb/source/ucp/cmis/auth_provider.hxx
index 4e560d6b099a..c7388ef15261 100644
--- a/ucb/source/ucp/cmis/auth_provider.hxx
+++ b/ucb/source/ucp/cmis/auth_provider.hxx
@@ -12,8 +12,10 @@
#if defined __GNUC__
#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__
#pragma GCC diagnostic pop
diff --git a/ucb/source/ucp/cmis/certvalidation_handler.hxx b/ucb/source/ucp/cmis/certvalidation_handler.hxx
index 95192681fec1..04dd44f76f74 100644
--- a/ucb/source/ucp/cmis/certvalidation_handler.hxx
+++ b/ucb/source/ucp/cmis/certvalidation_handler.hxx
@@ -15,8 +15,10 @@
#if defined __GNUC__
#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__
#pragma GCC diagnostic pop
diff --git a/ucb/source/ucp/cmis/cmis_content.hxx b/ucb/source/ucp/cmis/cmis_content.hxx
index 96ac2753ec56..867c5d0a5f31 100644
--- a/ucb/source/ucp/cmis/cmis_content.hxx
+++ b/ucb/source/ucp/cmis/cmis_content.hxx
@@ -27,8 +27,10 @@
#if defined __GNUC__
#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__
#pragma GCC diagnostic pop
diff --git a/ucb/source/ucp/cmis/cmis_url.cxx b/ucb/source/ucp/cmis/cmis_url.cxx
index 6d4217280e5e..927d9dbaa2ac 100644
--- a/ucb/source/ucp/cmis/cmis_url.cxx
+++ b/ucb/source/ucp/cmis/cmis_url.cxx
@@ -10,8 +10,10 @@
#if defined __GNUC__
#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__
#pragma GCC diagnostic pop