From d6906a06a24cf6dd081f1bc955c3255765a0b845 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 Dec 2007 17:50:44 +0000 Subject: [PATCH] fix gcc warning about possibly uninitialized variables git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/dde.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/msw/dde.cpp b/src/msw/dde.cpp index 7604068ac6..5b542f7e9b 100644 --- a/src/msw/dde.cpp +++ b/src/msw/dde.cpp @@ -557,8 +557,8 @@ wxDDEConnection::DoExecute(const void *data, size_t size, wxIPCFormat format) _T("wxDDEServer::Execute() supports only text data") ); wxMemoryBuffer buffer; - LPBYTE realData wxDUMMY_INITIALIZE(NULL); - size_t realSize wxDUMMY_INITIALIZE(0); + LPBYTE realData = NULL; + size_t realSize = 0; wxMBConv *conv = NULL; // Windows only supports either ANSI or UTF-16 format depending on the -- 2.45.2