-rw-r--r-- | lib/consumer.cc | 2 | ||||
-rw-r--r-- | lib/extension.cc | 6 | ||||
-rw-r--r-- | lib/sreg.cc | 6 | ||||
-rw-r--r-- | test/test.cc | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/lib/consumer.cc b/lib/consumer.cc index d578546..7881f5f 100644 --- a/lib/consumer.cc +++ b/lib/consumer.cc | |||
@@ -379,3 +379,3 @@ namespace opkele { | |||
379 | 379 | ||
380 | assoc_t consumer_t::find_assoc(const string& server) { | 380 | assoc_t consumer_t::find_assoc(const string& /* server */) { |
381 | throw failed_lookup(OPKELE_CP_ "no find_assoc() provided"); | 381 | throw failed_lookup(OPKELE_CP_ "no find_assoc() provided"); |
diff --git a/lib/extension.cc b/lib/extension.cc index 44cf0cb..8f22562 100644 --- a/lib/extension.cc +++ b/lib/extension.cc | |||
@@ -5,9 +5,9 @@ namespace opkele { | |||
5 | 5 | ||
6 | void extension_t::checkid_hook(params_t& p,const string& identity) { | 6 | void extension_t::checkid_hook(params_t& /* p */,const string& /* identity */ ) { |
7 | throw not_implemented(OPKELE_CP_ "Consumer checkid_hook not implemented"); | 7 | throw not_implemented(OPKELE_CP_ "Consumer checkid_hook not implemented"); |
8 | } | 8 | } |
9 | void extension_t::id_res_hook(const params_t& p,const params_t& sp,const string& identity) { | 9 | void extension_t::id_res_hook(const params_t& /* p */,const params_t& /* sp */,const string& /* identity */) { |
10 | throw not_implemented(OPKELE_CP_ "Consumer id_res_hook not implemented"); | 10 | throw not_implemented(OPKELE_CP_ "Consumer id_res_hook not implemented"); |
11 | } | 11 | } |
12 | void extension_t::checkid_hook(const params_t& pin,params_t& pout) { | 12 | void extension_t::checkid_hook(const params_t& /* pin */,params_t& /* pout */) { |
13 | throw not_implemented(OPKELE_CP_ "Server checkid_hook not implemented"); | 13 | throw not_implemented(OPKELE_CP_ "Server checkid_hook not implemented"); |
diff --git a/lib/sreg.cc b/lib/sreg.cc index 08e66b7..60dc691 100644 --- a/lib/sreg.cc +++ b/lib/sreg.cc | |||
@@ -29,3 +29,3 @@ namespace opkele { | |||
29 | 29 | ||
30 | void sreg_t::checkid_hook(params_t& p,const string& identity) { | 30 | void sreg_t::checkid_hook(params_t& p,const string& /* identity */) { |
31 | string fr, fo; | 31 | string fr, fo; |
@@ -46,3 +46,3 @@ namespace opkele { | |||
46 | 46 | ||
47 | void sreg_t::id_res_hook(const params_t& p,const params_t& sp,const string& identity) { | 47 | void sreg_t::id_res_hook(const params_t& /* p */,const params_t& sp,const string& /* identity */) { |
48 | clear(); | 48 | clear(); |
@@ -120,3 +120,3 @@ namespace opkele { | |||
120 | 120 | ||
121 | void sreg_t::setup_response(const params_t& pin,params_t& pout) { | 121 | void sreg_t::setup_response(const params_t& /* pin */,params_t& /* pout */) { |
122 | fields_response = (fields_required|fields_optional)&has_fields; | 122 | fields_response = (fields_required|fields_optional)&has_fields; |
diff --git a/test/test.cc b/test/test.cc index 0010f2b..f92284c 100644 --- a/test/test.cc +++ b/test/test.cc | |||
@@ -16,9 +16,9 @@ class dummy_consumer_t : public opkele::consumer_t { | |||
16 | public: | 16 | public: |
17 | virtual opkele::assoc_t store_assoc(const string& server,const string& handle,const opkele::secret_t& secret,int expires_in) { | 17 | virtual opkele::assoc_t store_assoc(const string& /* server */,const string& /* handle */,const opkele::secret_t& /* secret */,int /* expires_in */) { |
18 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); | 18 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); |
19 | } | 19 | } |
20 | virtual opkele::assoc_t retrieve_assoc(const string& server,const string& handle) { | 20 | virtual opkele::assoc_t retrieve_assoc(const string& /* server */ ,const string& /* handle */) { |
21 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); | 21 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); |
22 | } | 22 | } |
23 | virtual void invalidate_assoc(const string& server,const string& handle) { | 23 | virtual void invalidate_assoc(const string& /* server */,const string& /* handle */) { |
24 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); | 24 | throw opkele::not_implemented(OPKELE_CP_ "Not implemented"); |