From 96d7b1d397782a1a0b993f45f17614977e90f613 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 4 Feb 2015 13:19:04 +0000 Subject: [PATCH] Don't declare unnecessary variable in wxUSE_NANOX wxX11 build. Closes #16833. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/window.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/x11/window.cpp b/src/x11/window.cpp index 74e41c57ee..6dee823b0e 100644 --- a/src/x11/window.cpp +++ b/src/x11/window.cpp @@ -178,9 +178,7 @@ bool wxWindowX11::Create(wxWindow *parent, wxWindowID id, bool need_two_windows = false; #endif -#if wxUSE_NANOX - long xattributes = 0; -#else +#if !wxUSE_NANOX XSetWindowAttributes xattributes; long xattributes_mask = 0;