[Libreoffice-commits] core.git: cppuhelper/source
Stephan Bergmann
sbergman at redhat.com
Thu Dec 19 02:00:44 PST 2013
cppuhelper/source/shlib.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 3aac1ebd02795f30ebfe3ef7af6fdbcbf27e3e1f
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 19 11:00:13 2013 +0100
Missing initialization
Change-Id: I177da4fbe87eacfb86b6196df3d023218b1c9012
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index fd88e5b..f34fa8e 100644
--- a/cppuhelper/source/shlib.cxx
+++ b/cppuhelper/source/shlib.cxx
@@ -189,7 +189,7 @@ void cppuhelper::detail::loadSharedLibComponentFactory(
}
rtl::OUString name(prefix == "direct" ? implementation : uri);
lib_to_factory_mapping const * map = lo_get_factory_map();
- component_getFactoryFunc fp;
+ component_getFactoryFunc fp = 0;
for (int i = 0; map[i].name != 0; ++i) {
if (name.equalsAscii(map[i].name)) {
fp = map[i].component_getFactory_function;
More information about the Libreoffice-commits
mailing list