Static checking by GCC 4.8.0.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 05:34:01 +0000 (22:34 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 May 2013 05:34:01 +0000 (22:34 -0700)
commite0c9d5650500f980701f1e0288db73ee32cbe7d0
tree6139a81ab72f9957884bfad1142b145fa26d7b6d
parent150194c32f69feee7aae11d4ef21e8034d48b136
Static checking by GCC 4.8.0.

* xfns.c (x_get_net_workarea, struct MonitorInfo, free_monitors)
(x_get_monitor_for_frame, x_make_monitor_attribute_list)
(x_get_monitor_attributes_fallback)
(x_get_monitor_attributes_xinerama)
(x_get_monitor_attributes_xrandr, x_get_monitor_attributes):
Define only if USE_GTK.
(free_monitors): Define only if HAVE_XINERAMA || HAVE_XRANDR.
(x_get_monitor_attributes_fallback): Omit unused locals.
(x_get_monitor_attributes_xinerama, Fx_display_monitor_attributes_list):
Use double, not float, to avoid mixed-mode floating point arithmetic.
src/ChangeLog
src/xfns.c