mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-19 20:34:49 -04:00
second pass over compilation warnings
This commit is contained in:
parent
927f782bef
commit
f55b283887
17 changed files with 28 additions and 28 deletions
|
@ -74,7 +74,7 @@ char *getpass (const char *prompt)
|
|||
}
|
||||
#endif
|
||||
|
||||
void NotifyTxt::notifyErrorMsg(int list, int type, std::string msg)
|
||||
void NotifyTxt::notifyErrorMsg(int /* list */, int /* type */, std::string /* msg */)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ bool NotifyTxt::askForPluginConfirmation(const std::string& plugin_file_name, co
|
|||
return a == 'y' ;
|
||||
}
|
||||
|
||||
bool NotifyTxt::askForPassword(const std::string& question, bool prev_is_bad, std::string& password,bool& cancel)
|
||||
bool NotifyTxt::askForPassword(const std::string& question, bool /* prev_is_bad */, std::string& password,bool& cancel)
|
||||
{
|
||||
std::string question1="Please enter your PGP password for key:\n " + question + " :";
|
||||
char *passwd = getpass(question1.c_str()) ;
|
||||
|
@ -112,7 +112,7 @@ bool NotifyTxt::askForPassword(const std::string& question, bool prev_is_bad, st
|
|||
}
|
||||
|
||||
|
||||
void NotifyTxt::notifyListChange(int list, int type)
|
||||
void NotifyTxt::notifyListChange(int list, int /* type */)
|
||||
{
|
||||
//std::cerr << "NotifyTxt::notifyListChange()" << std::endl;
|
||||
switch(list)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue