From 55499b4fd07282641ba84ddda603ccf19fd14aed Mon Sep 17 00:00:00 2001 From: "Taylor R. Campbell" Date: Sun, 4 Feb 2007 18:36:12 +0000 Subject: [PATCH] Eliminate compiler warning about non-return from non-void function x_close_window_io_error, which calls longjmp instead. --- v7/src/microcode/x11base.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/v7/src/microcode/x11base.c b/v7/src/microcode/x11base.c index 7dbab00b7..c2e27a193 100644 --- a/v7/src/microcode/x11base.c +++ b/v7/src/microcode/x11base.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: x11base.c,v 1.91 2007/01/12 03:45:55 cph Exp $ +$Id: x11base.c,v 1.92 2007/02/04 18:36:12 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -641,6 +641,8 @@ static int DEFUN (x_close_window_io_error, (display), Display * display) { longjmp (x_close_window_jmp_buf, 1); + /*NOTREACHED*/ + return (0); } static void -- 2.25.1