* src/xterm.c (x_make_frame_visible): Make some fields that are
set but never used conditioned out on GTK.
void
x_make_frame_visible (struct frame *f)
{
- struct x_display_info *dpyinfo;
#ifndef USE_GTK
+ struct x_display_info *dpyinfo;
struct x_output *output;
#endif
block_input ();
gui_set_bitmap_icon (f);
+
+#ifndef USE_GTK
dpyinfo = FRAME_DISPLAY_INFO (f);
+#endif
if (! FRAME_VISIBLE_P (f))
{