From b26aaf5f64853ad2085a73bf762826dbc2a40f94 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sat, 5 Apr 2014 21:09:27 +0100 Subject: coverity#708562 Uninitialized scalar field Change-Id: I93a760e0f3b8a1669f7ce9995808b7cff52fa1fa --- ucb/source/ucp/file/prov.cxx | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/ucb/source/ucp/file/prov.cxx b/ucb/source/ucp/file/prov.cxx index 80721533257f..0a1ebf14cf00 100644 --- a/ucb/source/ucp/file/prov.cxx +++ b/ucb/source/ucp/file/prov.cxx @@ -84,26 +84,20 @@ extern "C" SAL_DLLPUBLIC_EXPORT void * SAL_CALL ucpfile_component_getFactory( /* */ /* */ /****************************************************************************/ - - - FileProvider::FileProvider( const Reference< XComponentContext >& rxContext ) - : m_xContext( rxContext ), - m_pMyShell( 0 ) + : m_xContext(rxContext) + , m_FileSystemNotation(FileSystemNotation::UNKNOWN_NOTATION) + , m_pMyShell(NULL) { } - FileProvider::~FileProvider() { if( m_pMyShell ) delete m_pMyShell; } - - // XInitialization - void SAL_CALL FileProvider::init() { if( ! m_pMyShell ) -- cgit