summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
Diffstat (limited to 'sal')
-rw-r--r--sal/osl/unx/tempfile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/unx/tempfile.cxx b/sal/osl/unx/tempfile.cxx
index bd8e88db742c..29a4d453f80c 100644
--- a/sal/osl/unx/tempfile.cxx
+++ b/sal/osl/unx/tempfile.cxx
@@ -278,7 +278,7 @@ oslFileError SAL_CALL osl_createTempFile(
rtl_uString** ppustrTempFileURL)
{
rtl_uString* base_directory = nullptr;
- oslFileHandle temp_file_handle;
+ oslFileHandle temp_file_handle = nullptr;
bool b_delete_on_close;
oslFileError osl_error;