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:
parent
7396594fc3
commit
9d1cf618ab
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user