X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9b5f1895643cf94b38ac19a4c1151e259310852e..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/gtk/gsockgtk.cpp diff --git a/src/gtk/gsockgtk.cpp b/src/gtk/gsockgtk.cpp index 390b19982e..b38c4d7759 100644 --- a/src/gtk/gsockgtk.cpp +++ b/src/gtk/gsockgtk.cpp @@ -25,7 +25,7 @@ extern "C" { static void _GSocket_GDK_Input(gpointer data, - gint source, + gint WXUNUSED(source), GdkInputCondition condition) { GSocket *socket = (GSocket *)data; @@ -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