summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-12-10 11:42:46 +0000
committerMichael Stahl <mstahl@redhat.com>2015-12-10 15:15:29 +0000
commitd59f01ff2619176e8682650398166578665c0b77 (patch)
tree8b044e591f839fbe9f8d592250177f39425b2ea8
parent063488d1a0e530c74eac0ba0079811276a77a214 (diff)
use of uninitialized variable
Change-Id: I1149eb9f5946228a2448c121e7ec7211861b3b3d (cherry picked from commit 65deab68f7918c82026951b04a414eefee2683b2) (cherry picked from commit 84facdc8305f1d00f661e58aa0c474c7233d47dc) Reviewed-on: https://gerrit.libreoffice.org/20594 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
-rw-r--r--lotuswordpro/source/filter/bencont.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lotuswordpro/source/filter/bencont.cxx b/lotuswordpro/source/filter/bencont.cxx
index a09695184d90..3cb4a09fd233 100644
--- a/lotuswordpro/source/filter/bencont.cxx
+++ b/lotuswordpro/source/filter/bencont.cxx
@@ -231,7 +231,7 @@ BenError LtcBenContainer::SeekFromEnd(long Offset)
*/
LtcUtBenValueStream * LtcBenContainer::FindNextValueStreamWithPropertyName(const char * sPropertyName, LtcUtBenValueStream * pCurrentValueStream)
{
- CBenPropertyName * pPropertyName;
+ CBenPropertyName * pPropertyName(nullptr);
RegisterPropertyName(sPropertyName, &pPropertyName); // Get property name object
if (NULL == pPropertyName)