diff options
author | Simon Warta <[email protected]> | 2015-06-26 15:11:17 +0200 |
---|---|---|
committer | Simon Warta <[email protected]> | 2015-06-26 15:11:17 +0200 |
commit | 390fae22b5be56524c5166299312f2fb774250e9 (patch) | |
tree | 337548c9b6358a85583ecaffdc06f21c14c1e26e | |
parent | 4830d15284dc44cb1980d0256976d63dad05c899 (diff) | |
parent | dc06841dae43a433dbe2ae68a00fadf8c5e683a7 (diff) |
Merge pull request #145 from webmaster128/fix-credentials
Get rid of unused parmeter warning in credentials.h
-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()) |