diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 11:33:21 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-04-29 11:40:27 +0100 |
commit | 7e487c1959f5a2b74dae656e3f012bab8a908151 (patch) | |
tree | f0f82b3704b62804acf49ed996fc0eb541c21f83 /unoidl | |
parent | 3c6e2a2bd3f0472830864aa0e5f4458d9b3182b0 (diff) |
coverity#1210179 Uninitialized pointer field
Change-Id: I09534eab67c0ae38cd6965c3b63227d92b72c646
Diffstat (limited to 'unoidl')
-rw-r--r-- | unoidl/source/unoidlprovider.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unoidl/source/unoidlprovider.cxx b/unoidl/source/unoidlprovider.cxx index 2e7ac091434b..68d5ebc5b868 100644 --- a/unoidl/source/unoidlprovider.cxx +++ b/unoidl/source/unoidlprovider.cxx @@ -165,7 +165,7 @@ private: const; }; -MappedFile::MappedFile(OUString const & fileUrl): uri(fileUrl) { +MappedFile::MappedFile(OUString const & fileUrl): uri(fileUrl), handle(0) { oslFileError e = osl_openFile(uri.pData, &handle, osl_File_OpenFlag_Read); switch (e) { case osl_File_E_None: |