[Libreoffice-commits] core.git: vcl/source
Caolán McNamara
caolanm at redhat.com
Fri Jul 17 08:59:58 PDT 2015
vcl/source/window/accel.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit d368a613fe756a6f1992425078d99e9c72fc39ed
Author: Caolán McNamara <caolanm at redhat.com>
Date: Fri Jul 17 16:57:58 2015 +0100
WaE: -Wmaybe-uninitialized
Change-Id: I295ef24b8d524e152c85b90548d8a7753347dacd
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 5f8dc36..6905142 100644
--- a/vcl/source/window/accel.cxx
+++ b/vcl/source/window/accel.cxx
@@ -88,7 +88,7 @@ sal_uInt16 ImplAccelEntryGetIndex( ImplAccelList* pList, sal_uInt16 nId,
static void ImplAccelEntryInsert( ImplAccelList* pList, ImplAccelEntry* pEntry )
{
- sal_uInt16 nInsIndex;
+ sal_uInt16 nInsIndex(0);
sal_uInt16 nIndex = ImplAccelEntryGetIndex( pList, pEntry->mnId, &nInsIndex );
if ( nIndex != ACCELENTRY_NOTFOUND )
More information about the Libreoffice-commits
mailing list