From: Vadim Zeitlin Date: Tue, 10 Jul 2007 23:37:09 +0000 (+0000) Subject: removed dummy variable, C++ compilers shouldn't have any troubles with empty source... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a59bbda13f27271b6769a6ad2bf32ba0096f1769 removed dummy variable, C++ compilers shouldn't have any troubles with empty source file git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/gsockgtk.cpp b/src/gtk/gsockgtk.cpp index 390b19982e..c8f1d5c8f6 100644 --- a/src/gtk/gsockgtk.cpp +++ b/src/gtk/gsockgtk.cpp @@ -128,9 +128,4 @@ void GSocketGUIFunctionsTableConcrete::Disable_Events(GSocket *socket) Uninstall_Callback(socket, GSOCK_OUTPUT); } -#else /* !wxUSE_SOCKETS */ - -/* some compilers don't like having empty source files */ -static int wxDummyGsockVar = 0; - -#endif /* wxUSE_SOCKETS/!wxUSE_SOCKETS */ +#endif // wxUSE_SOCKETS