Commit 51c9347e authored by Francis Dupont's avatar Francis Dupont
Browse files

[589-ubuntu-19-04-warnings] Fixed build with Ubuntu 19.04 g++

parent 12dabc40
......@@ -238,7 +238,7 @@ MySqlBinding::convertToDatabaseTime(const time_t cltt,
isc_throw(BadValue, "Time value is too large: " << expire_time_64);
}
const time_t expire_time = static_cast<const time_t>(expire_time_64);
const time_t expire_time = static_cast<time_t>(expire_time_64);
// Convert to broken-out time
struct tm expire_tm;
......
......@@ -381,7 +381,7 @@ TEST_F(MySqlConnectionTest, deleteByValue) {
ASSERT_NO_THROW(conn_.selectQuery(MySqlConnectionTest::GET_BY_INT_VALUE,
in_bindings, out_bindings,
[&deleted](MySqlBindingCollection& out_bindings) {
[&deleted](MySqlBindingCollection&) {
// This will be executed if the row is returned as a result of
// select query. We expect that this is not executed.
deleted = false;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment