diff --git a/vcl/generic/app/gensys.cxx b/vcl/generic/app/gensys.cxx index 611ea333ff98..0c67e6c02fa6 100644 --- a/vcl/generic/app/gensys.cxx +++ b/vcl/generic/app/gensys.cxx @@ -95,7 +95,7 @@ int SalGenericSystem::ShowNativeMessageBox( const OUString& rTitle, const OUStri { int nDefButton = 0; std::list< OUString > aButtons; - int nButtonIds[5], nBut = 0; + int nButtonIds[5] = {0}, nBut = 0; ImplHideSplash();