User: rt Date: 2008-07-03 09:23:45+0000 Modified: dba/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx
Log: #i10000# Avoid 'may be used uninitialized' warning. File Changes: Directory: /dba/connectivity/source/commontools/ ================================================ File [changed]: FDatabaseMetaDataResultSet.cxx Url: http://dba.openoffice.org/source/browse/dba/connectivity/source/commontools/FDatabaseMetaDataResultSet.cxx?r1=1.23&r2=1.24 Delta lines: +4 -4 ------------------- --- FDatabaseMetaDataResultSet.cxx 2008-06-30 15:08:14+0000 1.23 +++ FDatabaseMetaDataResultSet.cxx 2008-07-03 09:23:40+0000 1.24 @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: FDatabaseMetaDataResultSet.cxx,v $ - * $Revision: 1.23 $ + * $Revision: 1.24 $ * * This file is part of OpenOffice.org. * @@ -734,7 +734,7 @@ { if ( _aArguments.getLength() == 2 ) { - sal_Int32 nResultSetType; + sal_Int32 nResultSetType = 0; if ( _aArguments[0] >>= nResultSetType) { setType(static_cast<MetaDataResultSetType>(nResultSetType)); @@ -756,7 +756,7 @@ { case TypeClass_BOOLEAN: { - sal_Bool bValue; + sal_Bool bValue = sal_False; *pRowIter >>= bValue; aValue = new ORowSetValueDecorator(ORowSetValue(bValue)); } --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
