summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrank Meerkötter <frank.meerkoetter@basyskom.com>2019-10-04 21:11:15 +0200
committerFrank Meerkötter <frank.meerkoetter@basyskom.com>2019-10-08 07:42:18 +0200
commiteabe18420a1918ed104a9a036f5ad29f342272f4 (patch)
treed5c6372b67b5558a715036d80dffbb15178ff285
parentb7274d71da506acca2f9397970cce2177545215e (diff)
The Q_UNUSED macro is already inserting a ';'
Shuts up QtCreator complaining about statements without effect. Change-Id: Ie2d410bf90acbffb3149973f24eeb13aae42316b Reviewed-by: Rainer Keller <Rainer.Keller@qt.io>
-rw-r--r--tests/open62541-testserver/testserver.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/tests/open62541-testserver/testserver.cpp b/tests/open62541-testserver/testserver.cpp
index 6bbbb99..d1d1a78 100644
--- a/tests/open62541-testserver/testserver.cpp
+++ b/tests/open62541-testserver/testserver.cpp
@@ -479,13 +479,13 @@ UA_NodeId TestServer::addEmptyArrayVariable(const UA_NodeId &folder, const QStri
UA_StatusCode TestServer::multiplyMethod(UA_Server *server, const UA_NodeId *sessionId, void *sessionHandle, const UA_NodeId *methodId, void *methodContext, const UA_NodeId *objectId, void *objectContext, size_t inputSize, const UA_Variant *input, size_t outputSize, UA_Variant *output)
{
- Q_UNUSED(server);
- Q_UNUSED(sessionId);
- Q_UNUSED(sessionHandle);
- Q_UNUSED(methodId);
- Q_UNUSED(methodContext);
- Q_UNUSED(objectId);
- Q_UNUSED(objectContext);
+ Q_UNUSED(server)
+ Q_UNUSED(sessionId)
+ Q_UNUSED(sessionHandle)
+ Q_UNUSED(methodId)
+ Q_UNUSED(methodContext)
+ Q_UNUSED(objectId)
+ Q_UNUSED(objectContext)
if (inputSize < 2)
return QOpcUa::UaStatusCode::BadArgumentsMissing;
@@ -562,13 +562,13 @@ UA_NodeId TestServer::addMultiplyMethod(const UA_NodeId &folder, const QString &
UA_StatusCode TestServer::multipleOutputArgumentsMethod(UA_Server *server, const UA_NodeId *sessionId, void *sessionHandle, const UA_NodeId *methodId, void *methodContext, const UA_NodeId *objectId, void *objectContext, size_t inputSize, const UA_Variant *input, size_t outputSize, UA_Variant *output)
{
- Q_UNUSED(server);
- Q_UNUSED(sessionId);
- Q_UNUSED(sessionHandle);
- Q_UNUSED(methodId);
- Q_UNUSED(methodContext);
- Q_UNUSED(objectId);
- Q_UNUSED(objectContext);
+ Q_UNUSED(server)
+ Q_UNUSED(sessionId)
+ Q_UNUSED(sessionHandle)
+ Q_UNUSED(methodId)
+ Q_UNUSED(methodContext)
+ Q_UNUSED(objectId)
+ Q_UNUSED(objectContext)
if (inputSize < 2)
return QOpcUa::UaStatusCode::BadArgumentsMissing;
@@ -704,12 +704,12 @@ UA_NodeId TestServer::addAddNamespaceMethod(const UA_NodeId &folder, const QStri
UA_StatusCode TestServer::addNamespaceMethod(UA_Server *server, const UA_NodeId *sessionId, void *sessionHandle, const UA_NodeId *methodId, void *methodContext, const UA_NodeId *objectId, void *objectContext, size_t inputSize, const UA_Variant *input, size_t outputSize, UA_Variant *output)
{
- Q_UNUSED(sessionId);
- Q_UNUSED(sessionHandle);
- Q_UNUSED(methodId);
- Q_UNUSED(methodContext);
- Q_UNUSED(objectId);
- Q_UNUSED(objectContext);
+ Q_UNUSED(sessionId)
+ Q_UNUSED(sessionHandle)
+ Q_UNUSED(methodId)
+ Q_UNUSED(methodContext)
+ Q_UNUSED(objectId)
+ Q_UNUSED(objectContext)
if (inputSize < 1)
return QOpcUa::UaStatusCode::BadArgumentsMissing;