Fix two harmless gcc warnings about missing initializers.
Add values to make g++ -Wmissing-field-initializers warnings (implicitly enabled by -Wextra) go away. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
408ee837a8
commit
917b008579
@ -347,7 +347,7 @@ LRESULT CALLBACK wxSocket_Internal_WinProc(HWND hWnd,
|
||||
// only then). Ignore such dummy notifications.
|
||||
{
|
||||
fd_set fds;
|
||||
timeval tv = { 0 };
|
||||
timeval tv = { 0, 0 };
|
||||
|
||||
wxFD_ZERO(&fds);
|
||||
wxFD_SET(socket->m_fd, &fds);
|
||||
|
@ -374,7 +374,7 @@ int wxStatusBar::MSWGetBorderWidth() const
|
||||
/* static */
|
||||
const wxStatusBar::MSWMetrics& wxStatusBar::MSWGetMetrics()
|
||||
{
|
||||
static MSWMetrics s_metrics = { 0 };
|
||||
static MSWMetrics s_metrics = { 0, 0 };
|
||||
if ( !s_metrics.textMargin )
|
||||
{
|
||||
// Grip size should be self explanatory (the only problem with it is
|
||||
|
Loading…
Reference in New Issue
Block a user