From 8553f703540b15e168cbb38ced75c9b81a1d50da Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Wed, 14 Nov 2018 13:30:28 +0200 Subject: Fix GCC maybe used uninitialized warning --- odb/relational/mssql/context.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/odb/relational/mssql/context.hxx b/odb/relational/mssql/context.hxx index 2aa3142..91f70c0 100644 --- a/odb/relational/mssql/context.hxx +++ b/odb/relational/mssql/context.hxx @@ -68,7 +68,9 @@ namespace relational }; sql_type () : - type (invalid), has_prec (false), has_scale (false) + type (invalid), + has_prec (false), prec (0), + has_scale (false), scale (0) { } -- cgit v1.1