[Libreoffice-commits] core.git: sal/osl
Stephan Bergmann
sbergman at redhat.com
Thu Oct 10 06:00:20 PDT 2013
sal/osl/unx/thread.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 2bace4e9629cd0ee28ae6515bbceeef5c0b7ec1b
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Oct 10 14:59:55 2013 +0200
Adapt to C90
Change-Id: I491ca9ccfc5622afcec163e75792aa03a3a24a4f
diff --git a/sal/osl/unx/thread.c b/sal/osl/unx/thread.c
index 3b09d3f..0140936 100644
--- a/sal/osl/unx/thread.c
+++ b/sal/osl/unx/thread.c
@@ -951,11 +951,13 @@ sal_Bool SAL_CALL osl_setThreadKeyData(oslThreadKey Key, void *pData)
/*****************************************************************************/
static void osl_thread_textencoding_init_Impl (void)
{
+ rtl_TextEncoding defaultEncoding;
+
/* create thread specific data key */
pthread_key_create (&(g_thread.m_textencoding.m_key), NULL);
/* determine default text encoding */
- rtl_TextEncoding defaultEncoding = osl_getTextEncodingFromLocale(NULL);
+ defaultEncoding = osl_getTextEncodingFromLocale(NULL);
OSL_ASSERT(defaultEncoding != RTL_TEXTENCODING_DONTKNOW);
/*
More information about the Libreoffice-commits
mailing list