Skip to content

Commit

Permalink
Remove unreferenced variables.
Browse files Browse the repository at this point in the history
  • Loading branch information
yangacer committed Jun 3, 2017
1 parent e845bfc commit 2b99ab5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqlite3cpp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void database::forward(sqlite3_context *ctx, int argc, sqlite3_value **argv) {

try {
(*cb)(ctx, argc, argv);
} catch (std::bad_alloc const &_) {
} catch (std::bad_alloc const &) {
sqlite3_result_error_nomem(ctx);
} catch (...) {
sqlite3_result_error_code(ctx, SQLITE_ABORT);
Expand All @@ -142,7 +142,7 @@ void database::step_ag(sqlite3_context *ctx, int argc, sqlite3_value **argv) {

try {
wrapper->step(ctx, argc, argv);
} catch (std::bad_alloc const &_) {
} catch (std::bad_alloc const &) {
sqlite3_result_error_nomem(ctx);
} catch (...) {
sqlite3_result_error_code(ctx, SQLITE_ABORT);
Expand All @@ -157,7 +157,7 @@ void database::final_ag(sqlite3_context *ctx) {
try {
wrapper->fin(ctx);
wrapper->reset();
} catch (std::bad_alloc const &_) {
} catch (std::bad_alloc const &) {
sqlite3_result_error_nomem(ctx);
} catch (...) {
sqlite3_result_error_code(ctx, SQLITE_ABORT);
Expand Down

0 comments on commit 2b99ab5

Please sign in to comment.