summaryrefslogtreecommitdiff
path: root/vcl/source/window/accel.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-07-17 16:57:58 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-07-17 16:59:18 +0100
commitd368a613fe756a6f1992425078d99e9c72fc39ed (patch)
treebba5a1b38ff0197d46f0be0c65ea556f41241e6c /vcl/source/window/accel.cxx
parent7fbadc4db37e02d78fde34d6fd52feb73cc5dd1f (diff)
WaE: -Wmaybe-uninitialized
Change-Id: I295ef24b8d524e152c85b90548d8a7753347dacd
Diffstat (limited to 'vcl/source/window/accel.cxx')
-rw-r--r--vcl/source/window/accel.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/vcl/source/window/accel.cxx b/vcl/source/window/accel.cxx
index 5f8dc36fa3d9..6905142f0b9d 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 )