summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/profile.cxx1
1 files changed, 0 insertions, 1 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx
index ac6a24f56142..4feb4ebfb8b0 100644
--- a/sal/osl/unx/profile.cxx
+++ b/sal/osl/unx/profile.cxx
@@ -1774,7 +1774,6 @@ static void osl_ProfileGenerateExtension(const sal_Char* pszFileName, const sal_
{
memcpy(cursor, pszExtension, BufferMaxLen - 1);
cursor += BufferMaxLen - 1;
- BufferMaxLen = 1;
}
*cursor = 0;