diff options
author | Simon Warta <[email protected]> | 2015-06-26 14:13:59 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-26 14:27:54 +0200 |
commit | dc06841dae43a433dbe2ae68a00fadf8c5e683a7 (patch) | |
tree | 75c33886b37bac117f4f3108dfbd669707d34cd9 /src/cmd | |
parent | 0b91cbbe2477a631b083ba8809724557259c2e8c (diff) |
Get rid of unused parmeter warning in credentials.h
Diffstat (limited to 'src/cmd')
-rw-r--r-- | src/cmd/credentials.h | 4 |
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()) |