From da2954b1d680ebaca3f6b70357db6eaf618cf592 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 15 Jun 2010 08:20:15 +0000 Subject: Removed an "unused variable" warning. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7642 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- src/Fl_x.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/Fl_x.cxx b/src/Fl_x.cxx index c291dda09..fc35a7597 100644 --- a/src/Fl_x.cxx +++ b/src/Fl_x.cxx @@ -71,7 +71,7 @@ static pollfd *pollfds = 0; # endif /* HAVE_SYS_SELECT_H */ // The following #define is only needed for HP-UX 9.x and earlier: -// #define select(a,b,c,d,e) select((a),(int *)(b),(int *)(c),(int *)(d),(e)) +//#define select(a,b,c,d,e) select((a),(int *)(b),(int *)(c),(int *)(d),(e)) static fd_set fdsets[3]; static int maxfd; @@ -1594,7 +1594,7 @@ void Fl_X::make_xid(Fl_Window* win, XVisualInfo *visual, Colormap colormap) if (win->menu_window() || win->tooltip_window()) { Atom net_wm_type = XInternAtom(fl_display, "_NET_WM_WINDOW_TYPE", False); Atom net_wm_type_kind = XInternAtom(fl_display, "_NET_WM_WINDOW_TYPE_MENU", False); - int ret = XChangeProperty(fl_display, xp->xid, net_wm_type, XA_ATOM, 32, PropModeReplace, (unsigned char*)&net_wm_type_kind, 1); + XChangeProperty(fl_display, xp->xid, net_wm_type, XA_ATOM, 32, PropModeReplace, (unsigned char*)&net_wm_type_kind, 1); } XMapWindow(fl_display, xp->xid); -- cgit v1.2.3