From a11645d24ffc155e9c4630b5d37ad4a2ec4be508 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 15 Sep 2016 11:28:20 +0200 Subject: [PATCH] auth: `id` variable shadows reference in `Bind2Backend::addDomainKey()` --- modules/bindbackend/binddnssec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/bindbackend/binddnssec.cc b/modules/bindbackend/binddnssec.cc index b432e3067..db3d116df 100644 --- a/modules/bindbackend/binddnssec.cc +++ b/modules/bindbackend/binddnssec.cc @@ -337,7 +337,7 @@ bool Bind2Backend::addDomainKey(const DNSName& name, const KeyData& key, int64_t SSqlStatement::row_t row; d_GetLastInsertedKeyIdQuery_stmt->nextRow(row); ASSERT_ROW_COLUMNS("get-last-inserted-key-id-query", row, 1); - int id = std::stoi(row[0]); + id = std::stoi(row[0]); d_GetLastInsertedKeyIdQuery_stmt->reset(); return true; } -- 2.40.0