[Libreoffice-commits] core.git: ucb/source

Stephan Bergmann sbergman at redhat.com
Mon Mar 4 04:26:53 PST 2013


 ucb/source/ucp/webdav-neon/webdavcontent.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit b2cc8263bbfc01a7b8f51fbe2c56b61bd4da3b5c
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Mar 4 13:24:04 2013 +0100

    Fix "may be used uninitialized" warning
    
    Change-Id: I6d2ac90177bd3194e0e3c23ee7c8dd634bb64228

diff --git a/ucb/source/ucp/webdav-neon/webdavcontent.cxx b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
index b3d5f49..7648b97 100644
--- a/ucb/source/ucp/webdav-neon/webdavcontent.cxx
+++ b/ucb/source/ucp/webdav-neon/webdavcontent.cxx
@@ -3083,7 +3083,7 @@ Content::ResourceType Content::getResourceType(
         }
     }
 
-    ResourceType eResourceType;
+    ResourceType eResourceType = UNKNOWN;
 
     const rtl::OUString & rURL = rResAccess->getURL();
     const rtl::OUString aScheme(


More information about the Libreoffice-commits mailing list