Author: AlbrechtS
Date: 2010-06-15 01:20:15 -0700 (Tue, 15 Jun 2010)
New Revision: 7642
Log:
Removed an "unused variable" warning.
Modified:
branches/branch-1.3/src/Fl_x.cxx
Modified: branches/branch-1.3/src/Fl_x.cxx
===================================================================
--- branches/branch-1.3/src/Fl_x.cxx 2010-06-15 08:04:50 UTC (rev 7641)
+++ branches/branch-1.3/src/Fl_x.cxx 2010-06-15 08:20:15 UTC (rev 7642)
@@ -71,7 +71,7 @@
# 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 @@
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);
_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit