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
// 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);
/* 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