summaryrefslogtreecommitdiff
path: root/desktop/unx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-12-28 08:55:09 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-05 09:18:15 +0000
commit697415eb4e22f6a788de55fcb2294ca8d70ebb20 (patch)
treeb1922dc55657ddd49bb62a64737d6447b65b70bb /desktop/unx
parentae8bb0032fdd9007b0fd716aab2648af7754d48a (diff)
WaE and build errors with OSL_DEBUG_LEVEL == 2
Diffstat (limited to 'desktop/unx')
-rw-r--r--desktop/unx/source/start.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/desktop/unx/source/start.c b/desktop/unx/source/start.c
index 6152e4cd8d98..d043b888df83 100644
--- a/desktop/unx/source/start.c
+++ b/desktop/unx/source/start.c
@@ -249,12 +249,15 @@ get_md5hash( rtl_uString *pText )
sal_uInt32 md5_key_len = 0;
sal_uInt8* md5_buf = NULL;
sal_uInt32 i = 0;
+#if OSL_DEBUG_LEVEL > 1
+ rtl_String *pOut;
+#endif
if ( !pText )
return NULL;
#if OSL_DEBUG_LEVEL > 1
- rtl_String *pOut = ustr_to_str( pText );
+ pOut = ustr_to_str( pText );
fprintf (stderr, "Generate pipe md5 for '%s'\n", pOut->buffer);
rtl_string_release( pOut );
#endif