PDML/PCAP Import: Fixed gcc4 warnings

This commit is contained in:
Srivats P. 2011-04-13 21:20:07 +05:30
parent 84544559f2
commit 44fdf844b6
2 changed files with 2 additions and 2 deletions

View File

@ -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());

View File

@ -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 <command>\n", argv[0]);