From 45e78bf8e308cd5f01ba886dad2a756c3ef90370 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 22 Apr 2024 13:34:15 +0200 Subject: Fix uninitialized warning in MySQL tests --- odb-tests/mysql/types/test.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/odb-tests/mysql/types/test.hxx b/odb-tests/mysql/types/test.hxx index 82f7496..6a8527b 100644 --- a/odb-tests/mysql/types/test.hxx +++ b/odb-tests/mysql/types/test.hxx @@ -17,6 +17,14 @@ typedef std::vector buffer; struct date_time { date_time () + : negative (false), + year (0), + month (0), + day (0), + hour (0), + minute (0), + second (0), + microseconds (0) { } -- cgit v1.1