From b4f275f32ef715daedb0db4085096fa22f80ce13 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sat, 1 Feb 2014 14:12:38 -0600 Subject: coverity#707708 : Uninitialized scalar field Change-Id: I5bcb4a1b23c67546c247747c883f0d5dafda3896 --- connectivity/source/inc/OTypeInfo.hxx | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'connectivity') diff --git a/connectivity/source/inc/OTypeInfo.hxx b/connectivity/source/inc/OTypeInfo.hxx index 754f791be320..ae2931833c6a 100644 --- a/connectivity/source/inc/OTypeInfo.hxx +++ b/connectivity/source/inc/OTypeInfo.hxx @@ -43,13 +43,11 @@ namespace connectivity sal_Int16 nSearchType; // Can we search for the type? sal_Int16 nNumPrecRadix; // indicating the radix, which is usually 2 or 10 - sal_Bool bCurrency : 1, // Currency - bAutoIncrement : 1, // Is it an autoincrementing field? - bNullable : 1, // Can the field be NULL? - bCaseSensitive : 1, // Is the type case sensitive? - bUnsigned : 1, // Is the type unsigned? - bEmpty_1 : 1, // for later use - bEmpty_2 : 1; + sal_Bool bCurrency : 1; // Currency + sal_Bool bAutoIncrement : 1; // Is it an autoincrementing field? + sal_Bool bNullable : 1; // Can the field be NULL? + sal_Bool bCaseSensitive : 1; // Is the type case sensitive? + sal_Bool bUnsigned : 1; // Is the type unsigned? OTypeInfo() :nPrecision(0) -- cgit