diff --git a/common/pdmlprotocols.cpp b/common/pdmlprotocols.cpp index 37a1ede..31e1303 100644 --- a/common/pdmlprotocols.cpp +++ b/common/pdmlprotocols.cpp @@ -1116,7 +1116,7 @@ PdmlProtocol* PdmlTcpProtocol::createInstance() void PdmlTcpProtocol::unknownFieldHandler(QString name, int /*pos*/, int /*size*/, const QXmlStreamAttributes &attributes, - OstProto::Protocol *pbProto, OstProto::Stream *stream) + OstProto::Protocol *pbProto, OstProto::Stream* /*stream*/) { if (name == "tcp.options") options_ = QByteArray::fromHex(attributes.value("value").toString().toUtf8()); diff --git a/test/main.cpp b/test/main.cpp index f81f118..d5e8af1 100644 --- a/test/main.cpp +++ b/test/main.cpp @@ -20,7 +20,7 @@ QString kDiffPathDefaultValue; QString kAwkPathDefaultValue; #endif -int usage(int argc, char* argv[]) +int usage(int /*argc*/, char* argv[]) { printf("usage:\n"); printf("%s \n", argv[0]);