Commit d3ec5117 authored by Paul Eggert's avatar Paul Eggert
Browse files

Pacify Oracle Studio 12.6

* src/xfns.c (Fx_frame_restack):
* src/xterm.c (x_io_error_quitter): Omit unreachable code.
parent da7fc851
......@@ -5421,16 +5421,10 @@ Some window managers may refuse to restack windows. */)
struct frame *f1 = decode_live_frame (frame1);
struct frame *f2 = decode_live_frame (frame2);
if (FRAME_OUTER_WINDOW (f1) && FRAME_OUTER_WINDOW (f2))
{
x_frame_restack (f1, f2, !NILP (above));
return Qt;
}
else
{
error ("Cannot restack frames");
return Qnil;
}
if (! (FRAME_OUTER_WINDOW (f1) && FRAME_OUTER_WINDOW (f2)))
error ("Cannot restack frames");
x_frame_restack (f1, f2, !NILP (above));
return Qt;
}
......
......@@ -9935,7 +9935,6 @@ x_io_error_quitter (Display *display)
snprintf (buf, sizeof buf, "Connection lost to X server '%s'",
DisplayString (display));
x_connection_closed (display, buf, true);
assume (false);
}
/* Changing the font of the frame. */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment