summaryrefslogtreecommitdiff
path: root/cppuhelper
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-12-19 11:00:13 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-12-19 11:00:13 +0100
commit3aac1ebd02795f30ebfe3ef7af6fdbcbf27e3e1f (patch)
tree848e842daa6df1c29c6fd1e2788f88297ecc1873 /cppuhelper
parent023e49921e11644b65af66996fd033c533f589f9 (diff)
Missing initialization
Change-Id: I177da4fbe87eacfb86b6196df3d023218b1c9012
Diffstat (limited to 'cppuhelper')
-rw-r--r--cppuhelper/source/shlib.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cppuhelper/source/shlib.cxx b/cppuhelper/source/shlib.cxx
index fd88e5bf1eb7..f34fa8e0a70d 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;