summaryrefslogtreecommitdiffabout
path: root/lib/sreg.cc
authorMichael Krelin <hacker@klever.net>2007-11-21 17:05:50 (UTC)
committer Michael Krelin <hacker@klever.net>2007-11-21 17:05:50 (UTC)
commitd9772d76607ad5b293e385df26cce4c87b8f6e54 (patch) (side-by-side diff)
tree2839b510d90652a429af68c37970bed1d63970fd /lib/sreg.cc
parent55008364921771a74a1192411583a72cc05adfa6 (diff)
downloadlibopkele-d9772d76607ad5b293e385df26cce4c87b8f6e54.zip
libopkele-d9772d76607ad5b293e385df26cce4c87b8f6e54.tar.gz
libopkele-d9772d76607ad5b293e385df26cce4c87b8f6e54.tar.bz2
further calming compiler down
Signed-off-by: Michael Krelin <hacker@klever.net>
Diffstat (limited to 'lib/sreg.cc') (more/less context) (ignore whitespace changes)
-rw-r--r--lib/sreg.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/sreg.cc b/lib/sreg.cc
index 08e66b7..60dc691 100644
--- a/lib/sreg.cc
+++ b/lib/sreg.cc
@@ -24,13 +24,13 @@ namespace opkele {
typedef const struct _sreg_field *fields_iterator;
bool operator==(const struct _sreg_field& fd,const string& fn) {
return fd.fieldname==fn;
}
- void sreg_t::checkid_hook(params_t& p,const string& identity) {
+ void sreg_t::checkid_hook(params_t& p,const string& /* identity */) {
string fr, fo;
for(fields_iterator f=fields_BEGIN;f<fields_END;++f) {
if(f->fieldbit&fields_required) {
if(!fr.empty()) fr+=",";
fr += f->fieldname;
}
@@ -41,13 +41,13 @@ namespace opkele {
}
if(!fr.empty()) p["sreg.required"]=fr;
if(!fo.empty()) p["sreg.optional"]=fo;
if(!policy_url.empty()) p["sreg.policy_url"]=policy_url;
}
- void sreg_t::id_res_hook(const params_t& p,const params_t& sp,const string& identity) {
+ void sreg_t::id_res_hook(const params_t& /* p */,const params_t& sp,const string& /* identity */) {
clear();
for(fields_iterator f=fields_BEGIN;f<fields_END;++f) {
string fn = "sreg."; fn+=f->fieldname;
if(!sp.has_param(fn)) continue;
has_fields |= f->fieldbit;
response[f->fieldbit]=sp.get_param(fn);
@@ -115,10 +115,10 @@ namespace opkele {
string pn = "sreg."; pn += f->fieldname;
pout["signed"] += pn;
pout[pn] = get_field(f->fieldbit);
}
}
- void sreg_t::setup_response(const params_t& pin,params_t& pout) {
+ void sreg_t::setup_response(const params_t& /* pin */,params_t& /* pout */) {
fields_response = (fields_required|fields_optional)&has_fields;
}
}