mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fix CppCheck in p3netmgr.cc
/libretroshare/src/pqi/p3netmgr.cc:926: warning: Cppcheck(unreadVariable): Variable 'title' is assigned a value that is never used. /libretroshare/src/pqi/p3netmgr.cc:1808: warning: Cppcheck(unreadVariable): Variable 'connectstr' is assigned a value that is never used.
This commit is contained in:
parent
6a0fd1179c
commit
d21b41f871
@ -923,8 +923,8 @@ void p3NetMgrIMPL::netExtCheck()
|
|||||||
//pqiNotify *notify = getPqiNotify();
|
//pqiNotify *notify = getPqiNotify();
|
||||||
//if (notify)
|
//if (notify)
|
||||||
{
|
{
|
||||||
std::string title =
|
//std::string title =
|
||||||
"Warning: Bad Firewall Configuration";
|
// "Warning: Bad Firewall Configuration";
|
||||||
|
|
||||||
std::string msg;
|
std::string msg;
|
||||||
msg += " **** WARNING **** \n";
|
msg += " **** WARNING **** \n";
|
||||||
@ -1814,7 +1814,7 @@ void p3NetMgrIMPL::updateNetStateBox_temporal()
|
|||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
std::cerr << "\tNetState: " << netstatestr;
|
std::cerr << "\tNetState: " << netstatestr;
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
std::cerr << "\tConnectModes: " << netstatestr;
|
std::cerr << "\tConnectModes: " << connectstr;
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
std::cerr << "\tNetworkMode: " << netmodestr;
|
std::cerr << "\tNetworkMode: " << netmodestr;
|
||||||
std::cerr << std::endl;
|
std::cerr << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user