summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--registry/source/regimpl.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx
index 0976c23555c7..77cce3bc1589 100644
--- a/registry/source/regimpl.cxx
+++ b/registry/source/regimpl.cxx
@@ -519,6 +519,10 @@ RegError ORegistry::initRegistry(const OUString& regName, RegAccessMode accessMo
} else
return REG_INVALID_REGISTRY;
}
+
+ // this line is never accessed
+ // just workaround to avoid warning: control reaches end of non-void function
+ return REG_INVALID_REGISTRY;
}