diff options
author | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 16:03:40 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2004-09-08 16:03:40 +0000 |
commit | 5cc30b1b231aa50190f2ae02e772da5b4c3bcc50 (patch) | |
tree | 2789673a43ccad59695a102e74fec30c37892c57 /ucb | |
parent | 2b82fe812bc4bcde58f0baa68bb9ce5d031936d2 (diff) |
INTEGRATION: CWS ooo20040704 (1.79.12); FILE MERGED
2004/06/30 13:38:12 waratah 1.79.12.1: #i30874# Add initial values to potentially uninitialised values
Diffstat (limited to 'ucb')
-rw-r--r-- | ucb/source/ucp/file/shell.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ucb/source/ucp/file/shell.cxx b/ucb/source/ucp/file/shell.cxx index 8a5a38b2a069..633741df4178 100644 --- a/ucb/source/ucp/file/shell.cxx +++ b/ucb/source/ucp/file/shell.cxx @@ -2,9 +2,9 @@ * * $RCSfile: shell.cxx,v $ * - * $Revision: 1.79 $ + * $Revision: 1.80 $ * - * last change: $Author: kz $ $Date: 2004-05-19 16:41:49 $ + * last change: $Author: rt $ $Date: 2004-09-08 17:03:40 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1643,7 +1643,7 @@ shell::remove( sal_Int32 CommandId, } sal_Bool whileSuccess = sal_True; - sal_Int32 recurse; + sal_Int32 recurse = 0; rtl::OUString name; nError = aDirectory.getNextItem( aItem ); @@ -2065,7 +2065,7 @@ shell::copy_recursive( const rtl::OUString& srcUnqPath, sal_Bool testExistBeforeCopy ) throw() { - osl::FileBase::RC err; + osl::FileBase::RC err = osl::FileBase::E_None; if( TypeToCopy == -1 ) // Document { @@ -2086,7 +2086,7 @@ shell::copy_recursive( const rtl::OUString& srcUnqPath, while( err == osl::FileBase::E_None && ( next = aDir.getNextItem( aDirItem ) ) == osl::FileBase::E_None ) { - sal_Bool IsDocument; + sal_Bool IsDocument = false; osl::FileStatus aFileStatus( n_Mask ); aDirItem.getFileStatus( aFileStatus ); if( aFileStatus.isValid( FileStatusMask_Type ) ) |