From a1cf31c53140f29cb14a4cf7fa45fb6af3aa3f14 Mon Sep 17 00:00:00 2001
From: Jens-Heiner Rechtien
Date: Wed, 4 Feb 2004 13:00:50 +0000
Subject: [PATCH] INTEGRATION: CWS ooo20031216 (1.14.2); FILE MERGED 2003/12/23
10:26:11 waratah 1.14.2.1: #i1858# initialise an unitialised variable
---
cppu/source/uno/prim.hxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/cppu/source/uno/prim.hxx b/cppu/source/uno/prim.hxx
index 0f35bc059bd9..b6705e02f94c 100644
--- a/cppu/source/uno/prim.hxx
+++ b/cppu/source/uno/prim.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: prim.hxx,v $
*
- * $Revision: 1.14 $
+ * $Revision: 1.15 $
*
- * last change: $Author: rt $ $Date: 2003-12-01 16:03:16 $
+ * last change: $Author: hr $ $Date: 2004-02-04 14:00:50 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -218,7 +218,7 @@ inline typelib_TypeDescriptionReference * _unionGetSetType(
void * pUnion, typelib_TypeDescription * pTD )
SAL_THROW( () )
{
- typelib_TypeDescriptionReference * pRet;
+ typelib_TypeDescriptionReference * pRet = 0;
sal_Int32 nPos;
sal_Int64 * pDiscr = ((typelib_UnionTypeDescription *)pTD)->pDiscriminants;