diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-04-22 13:34:15 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-04-22 13:34:15 +0200 |
commit | 45e78bf8e308cd5f01ba886dad2a756c3ef90370 (patch) | |
tree | 280785fe671c16599a16caa8b6ed843c85b71deb | |
parent | 3795f78c8d5fccddf648b80c10c0d1a244ddb085 (diff) |
Fix uninitialized warning in MySQL tests
-rw-r--r-- | odb-tests/mysql/types/test.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
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<char> buffer; struct date_time { date_time () + : negative (false), + year (0), + month (0), + day (0), + hour (0), + minute (0), + second (0), + microseconds (0) { } |