WaE: -Werror=maybe-uninitialized

Change-Id: Id9226a5d460c114d4811209020f408779dd2424d
This commit is contained in:
Caolán McNamara 2014-04-16 14:33:13 +01:00
parent eff36c994e
commit 98a39af312
3 changed files with 3 additions and 3 deletions

View File

@ -617,7 +617,7 @@ sal_Bool BaseResultSet::convertFastPropertyValue(
case BASERESULTSET_ESCAPE_PROCESSING: case BASERESULTSET_ESCAPE_PROCESSING:
case BASERESULTSET_IS_BOOKMARKABLE: case BASERESULTSET_IS_BOOKMARKABLE:
{ {
bool val; bool val(false);
bRet = ( rValue >>= val ); bRet = ( rValue >>= val );
m_props[nHandle] = makeAny( val ); m_props[nHandle] = makeAny( val );
break; break;

View File

@ -779,7 +779,7 @@ sal_Bool PreparedStatement::convertFastPropertyValue(
} }
case PREPARED_STATEMENT_ESCAPE_PROCESSING: case PREPARED_STATEMENT_ESCAPE_PROCESSING:
{ {
bool val; bool val(false);
bRet = ( rValue >>= val ); bRet = ( rValue >>= val );
rConvertedValue = makeAny( val ); rConvertedValue = makeAny( val );
break; break;

View File

@ -934,7 +934,7 @@ sal_Bool Statement::convertFastPropertyValue(
} }
case STATEMENT_ESCAPE_PROCESSING: case STATEMENT_ESCAPE_PROCESSING:
{ {
bool val; bool val(false);
bRet = ( rValue >>= val ); bRet = ( rValue >>= val );
rConvertedValue = makeAny( val ); rConvertedValue = makeAny( val );
break; break;