Get rid of a few unused variable warnings.

Originally committed to SVN as r5333.
This commit is contained in:
Niels Martin Hansen 2011-02-09 21:56:10 +00:00
parent bc002d749c
commit 7638375282
1 changed files with 3 additions and 3 deletions

View File

@ -46,7 +46,7 @@ const std::string Path::Get(const char *name) {
std::string path;
try {
path = std::string(opt->Get(name)->GetString());
} catch (OptionErrorNotFound& e) {
} catch (OptionErrorNotFound&) {
throw PathErrorNotFound("Invalid path key");
}
@ -67,7 +67,7 @@ void Path::Set(const char *name, const std::string &path) {
try {
opt->Get(name)->SetString(set);
} catch (OptionErrorNotFound& e) {
} catch (OptionErrorNotFound&) {
throw PathErrorNotFound("Invalid path key");
}
@ -136,7 +136,7 @@ void Path::Decode(std::string &path) {
throw PathErrorInvalid("Invalid cookie used");
} catch (OptionErrorNotFound& e) {
} catch (OptionErrorNotFound&) {
throw PathErrorInternal("Failed to find key in Decode");
}
}