aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-06-26 15:11:17 +0200
committerSimon Warta <[email protected]>2015-06-26 15:11:17 +0200
commit390fae22b5be56524c5166299312f2fb774250e9 (patch)
tree337548c9b6358a85583ecaffdc06f21c14c1e26e
parent4830d15284dc44cb1980d0256976d63dad05c899 (diff)
parentdc06841dae43a433dbe2ae68a00fadf8c5e683a7 (diff)
Merge pull request #145 from webmaster128/fix-credentials
Get rid of unused parmeter warning in credentials.h
-rw-r--r--src/cmd/credentials.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmd/credentials.h b/src/cmd/credentials.h
index e578b67a7..afd83420b 100644
--- a/src/cmd/credentials.h
+++ b/src/cmd/credentials.h
@@ -109,7 +109,7 @@ class Basic_Credentials_Manager : public Credentials_Manager
}
catch(std::exception& e)
{
- std::cout << e.what() << "\n";
+ std::cout << e.what() << std::endl;
//throw;
}
}
@@ -119,6 +119,8 @@ class Basic_Credentials_Manager : public Credentials_Manager
const std::string& type,
const std::string& hostname)
{
+ BOTAN_UNUSED(type);
+
for(auto&& i : m_creds)
{
if(std::find(algos.begin(), algos.end(), i.key->algo_name()) == algos.end())