[PATCH 2 of 2] Remove unused macro

Wald Commits scm-commit at wald.intevation.org
Mon Aug 18 18:52:43 CEST 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1408380759 -7200
# Node ID a55c6cf5436584c115ad0b5681d228287f17c27e
# Parent  bf4c8737b52cc272094780537b5782a2f7aa087e
Remove unused macro

diff -r bf4c8737b52c -r a55c6cf54365 ui/sslconnection_curl.cpp
--- a/ui/sslconnection_curl.cpp	Mon Aug 18 18:52:31 2014 +0200
+++ b/ui/sslconnection_curl.cpp	Mon Aug 18 18:52:39 2014 +0200
@@ -11,13 +11,6 @@
 
 #define CONNECTION_DEBUG
 
-/**@def Wrapper macro around curl_easy_setopt invocation */
-#define CURL_SETOPT(x, y, z) \
-    if (curl_easy_setopt(mCurl, x, y) != CURLE_OK) { \
-        qDebug() << "Setopt failed"; \
-        z; \
-    }
-
 SSLConnectionCurl::SSLConnectionCurl(const QString& url,
                              const QByteArray& certificate):
     SSLConnection (url, certificate),


More information about the Trustbridge-commits mailing list