summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-21 23:46:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-21 23:47:23 +0100
commit9377e44cf85a3871cf8b38f9cc1fb96da3490477 (patch)
tree3d0c8ecb1f98052960286b87329c32d4cbf0c2c9
parentfe7a4bccfdc6ff7e10789e5512ac469a4dc44f55 (diff)
-Werror,-Wunused-function
Change-Id: Ic792930c291bae1cf18ffd65548908e910c69c45
-rw-r--r--extensions/source/update/check/updatecheck.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/extensions/source/update/check/updatecheck.cxx b/extensions/source/update/check/updatecheck.cxx
index 2e0ab73198f7..33ffd7e0418c 100644
--- a/extensions/source/update/check/updatecheck.cxx
+++ b/extensions/source/update/check/updatecheck.cxx
@@ -106,12 +106,14 @@ static inline OUString getBuildId()
}
//------------------------------------------------------------------------------
+#if defined LINUX || defined SOLARIS
static inline OUString getBaseInstallation()
{
OUString aPathVal("$BRAND_BASE_DIR");
rtl::Bootstrap::expandMacros(aPathVal);
return aPathVal;
}
+#endif
//------------------------------------------------------------------------------