Fixed warnings about unused variables.

This commit is contained in:
Vincent Richard 2013-02-26 13:05:34 +01:00
parent 49f9628c0a
commit 5da73d4efc

View File

@ -1229,7 +1229,7 @@ public:
parser.check <one_char <'?'> >(line, &pos); parser.check <one_char <'?'> >(line, &pos);
parser.check <one_char <'='> >(line, &pos); parser.check <one_char <'='> >(line, &pos);
} }
catch (std::exception& e) catch (std::exception&)
{ {
delete (theCharset); delete (theCharset);
delete (theEncoding); delete (theEncoding);
@ -4962,12 +4962,12 @@ private:
{ {
resp->go(*this, line, currentPos); resp->go(*this, line, currentPos);
} }
catch (exceptions::operation_timed_out& e) catch (exceptions::operation_timed_out&)
{ {
// Always rethrow // Always rethrow
throw; throw;
} }
catch (exception& e) catch (exception&)
{ {
*currentPos = oldPos; *currentPos = oldPos;
@ -4997,12 +4997,12 @@ public:
TYPE term; TYPE term;
term.go(*this, line, currentPos); term.go(*this, line, currentPos);
} }
catch (exceptions::operation_timed_out& e) catch (exceptions::operation_timed_out&)
{ {
// Always rethrow // Always rethrow
throw; throw;
} }
catch (exception& e) catch (exception&)
{ {
*currentPos = oldPos; *currentPos = oldPos;
@ -5024,12 +5024,12 @@ public:
TYPE term(arg); TYPE term(arg);
term.go(*this, line, currentPos); term.go(*this, line, currentPos);
} }
catch (exceptions::operation_timed_out& e) catch (exceptions::operation_timed_out&)
{ {
// Always rethrow // Always rethrow
throw; throw;
} }
catch (exception& e) catch (exception&)
{ {
*currentPos = oldPos; *currentPos = oldPos;