Pacify Oracle Studio 12.6

* src/xfns.c (Fx_frame_restack):
* src/xterm.c (x_io_error_quitter): Omit unreachable code.
This commit is contained in:
Paul Eggert 2018-08-11 16:32:06 -07:00
parent da7fc851dc
commit d3ec5117da
2 changed files with 4 additions and 11 deletions

View file

@ -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;
}

View file

@ -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. */