author | Michael Krelin <hacker@klever.net> | 2007-11-21 18:24:28 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-11-21 18:24:28 (UTC) |
commit | 6d455b3ce69e62bdbe7ca894bc2cacac3e793a99 (patch) (unidiff) | |
tree | 38c3cd9b588dfebb6b459c3ca6b927757667f22a /lib/server.cc | |
parent | a9b6c1f0b1a771dcd9afc76f05d1ad2ff0af937e (diff) | |
download | libopkele-6d455b3ce69e62bdbe7ca894bc2cacac3e793a99.zip libopkele-6d455b3ce69e62bdbe7ca894bc2cacac3e793a99.tar.gz libopkele-6d455b3ce69e62bdbe7ca894bc2cacac3e793a99.tar.bz2 |
keep compiler happy about shadowed variable
Signed-off-by: Michael Krelin <hacker@klever.net>
-rw-r--r-- | lib/server.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/server.cc b/lib/server.cc index aa61035..282521e 100644 --- a/lib/server.cc +++ b/lib/server.cc | |||
@@ -156,16 +156,16 @@ namespace opkele { | |||
156 | pout["lifetime"]="60"; /* TODO: eventually remove deprecated stuff */ | 156 | pout["lifetime"]="60"; /* TODO: eventually remove deprecated stuff */ |
157 | }else{ | 157 | }else{ |
158 | pout["is_valid"]="false"; | 158 | pout["is_valid"]="false"; |
159 | pout["lifetime"]="0"; /* TODO: eventually remove deprecated stuff */ | 159 | pout["lifetime"]="0"; /* TODO: eventually remove deprecated stuff */ |
160 | } | 160 | } |
161 | if(pin.has_param("openid.invalidate_handle")) { | 161 | if(pin.has_param("openid.invalidate_handle")) { |
162 | string h = pin.get_param("openid.invalidate_handle"); | 162 | string h = pin.get_param("openid.invalidate_handle"); |
163 | try { | 163 | try { |
164 | assoc_t assoc = retrieve_assoc(h); | 164 | assoc_t tmp = retrieve_assoc(h); |
165 | }catch(invalid_handle& ih) { | 165 | }catch(invalid_handle& ih) { |
166 | pout["invalidate_handle"] = h; | 166 | pout["invalidate_handle"] = h; |
167 | }catch(failed_lookup& fl) { } | 167 | }catch(failed_lookup& fl) { } |
168 | } | 168 | } |
169 | } | 169 | } |
170 | 170 | ||
171 | } | 171 | } |