diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-07-17 16:57:58 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-07-17 16:59:18 +0100 |
commit | d368a613fe756a6f1992425078d99e9c72fc39ed (patch) | |
tree | bba5a1b38ff0197d46f0be0c65ea556f41241e6c /vcl | |
parent | 7fbadc4db37e02d78fde34d6fd52feb73cc5dd1f (diff) |
WaE: -Wmaybe-uninitialized
Change-Id: I295ef24b8d524e152c85b90548d8a7753347dacd
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/accel.cxx | 2 |
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 ) |