PDML/PCAP Import: Fixed gcc4 warnings
This commit is contained in:
parent
84544559f2
commit
44fdf844b6
@ -1116,7 +1116,7 @@ PdmlProtocol* PdmlTcpProtocol::createInstance()
|
|||||||
|
|
||||||
void PdmlTcpProtocol::unknownFieldHandler(QString name, int /*pos*/,
|
void PdmlTcpProtocol::unknownFieldHandler(QString name, int /*pos*/,
|
||||||
int /*size*/, const QXmlStreamAttributes &attributes,
|
int /*size*/, const QXmlStreamAttributes &attributes,
|
||||||
OstProto::Protocol *pbProto, OstProto::Stream *stream)
|
OstProto::Protocol *pbProto, OstProto::Stream* /*stream*/)
|
||||||
{
|
{
|
||||||
if (name == "tcp.options")
|
if (name == "tcp.options")
|
||||||
options_ = QByteArray::fromHex(attributes.value("value").toString().toUtf8());
|
options_ = QByteArray::fromHex(attributes.value("value").toString().toUtf8());
|
||||||
|
@ -20,7 +20,7 @@ QString kDiffPathDefaultValue;
|
|||||||
QString kAwkPathDefaultValue;
|
QString kAwkPathDefaultValue;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int usage(int argc, char* argv[])
|
int usage(int /*argc*/, char* argv[])
|
||||||
{
|
{
|
||||||
printf("usage:\n");
|
printf("usage:\n");
|
||||||
printf("%s <command>\n", argv[0]);
|
printf("%s <command>\n", argv[0]);
|
||||||
|
Loading…
Reference in New Issue
Block a user