summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2014-02-01 14:12:38 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2014-02-01 15:29:57 -0600
commitb4f275f32ef715daedb0db4085096fa22f80ce13 (patch)
treedafd088d84677a79e650f1dc23c954521a332375 /connectivity
parent4682bdd39d2e74efcc67dc08fa8ec47f730b8782 (diff)
coverity#707708 : Uninitialized scalar field
Change-Id: I5bcb4a1b23c67546c247747c883f0d5dafda3896
Diffstat (limited to 'connectivity')
-rw-r--r--connectivity/source/inc/OTypeInfo.hxx12
1 files changed, 5 insertions, 7 deletions
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)