1
0
mirror of https://github.com/fwbuilder/fwbuilder synced 2025-01-18 12:27:16 +01:00

fix: Ignore unused parameter

This commit is contained in:
Sirius Bakke 2023-07-22 20:06:23 +02:00
parent 7396594fc3
commit 9d1cf618ab
5 changed files with 6 additions and 6 deletions

View File

@ -75,7 +75,7 @@ class UpgradePredicate: public XMLTools::UpgradePredicate
public:
virtual bool operator()(const string &msg) const
{
msg.size(); // to make compiler happy about unused parameter
(void)msg.size(); // to make compiler happy about unused parameter
cout << "Data file has been created in the old version of Firewall Builder.\nLoad it in the GUI to convert it to the new version." << endl;
return false;
}

View File

@ -75,7 +75,7 @@ class UpgradePredicate: public XMLTools::UpgradePredicate
public:
virtual bool operator()(const string &msg) const
{
msg.size(); // to make compiler happy about unused parameter
(void)msg.size(); // to make compiler happy about unused parameter
cout << "Data file has been created in the old version of Firewall Builder.\nLoad it in the GUI to convert it to the new version." << endl;
return false;
}

View File

@ -75,7 +75,7 @@ class UpgradePredicate: public XMLTools::UpgradePredicate
public:
virtual bool operator()(const string &msg) const
{
msg.size(); // to make compiler happy about unused parameter
(void)msg.size(); // to make compiler happy about unused parameter
cout << "Data file has been created in the old version of Firewall Builder.\nLoad it in the GUI to convert it to the new version." << endl;
return false;
}

View File

@ -76,13 +76,13 @@ class UpgradePredicate: public XMLTools::UpgradePredicate
public:
virtual bool operator()(const string &msg) const
{
msg.size(); // to make compiler happy about unused parameter
(void)msg.size(); // to make compiler happy about unused parameter
cout << "Data file has been created in the old version of Firewall Builder.\nLoad it in the GUI to convert it to the new version." << endl;
return false;
}
};
void usage(const char *name)
{
cout << "Firewall Builder: policy compiler for Cisco PIX firewall (with support for FWSM)" << endl;

View File

@ -75,7 +75,7 @@ class UpgradePredicate: public XMLTools::UpgradePredicate
public:
virtual bool operator()(const string &msg) const
{
msg.size(); // to make compiler happy about unused parameter
(void)msg.size(); // to make compiler happy about unused parameter
cout << "Data file has been created in the old version of Firewall Builder.\nLoad it in the GUI to convert it to the new version." << endl;
return false;
}