Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/gpib Mark unreachable branch with __unreachable() to...



details:   https://anonhg.NetBSD.org/src/rev/e44fec517d3d
branches:  trunk
changeset: 846786:e44fec517d3d
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 01 16:22:10 2019 +0000

description:
Mark unreachable branch with __unreachable() to fix i386/ALL build.

diffstat:

 sys/dev/gpib/mt.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 212894e88aea -r e44fec517d3d sys/dev/gpib/mt.c
--- a/sys/dev/gpib/mt.c Sun Dec 01 15:34:44 2019 +0000
+++ b/sys/dev/gpib/mt.c Sun Dec 01 16:22:10 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mt.c,v 1.33 2019/11/12 13:17:44 msaitoh Exp $ */
+/*     $NetBSD: mt.c,v 1.34 2019/12/01 16:22:10 riastradh Exp $ */
 
 /*-
  * Copyright (c) 1996-2003 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.33 2019/11/12 13:17:44 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: mt.c,v 1.34 2019/12/01 16:22:10 riastradh Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -729,6 +729,7 @@
                                    mtstart_callout, sc);
                                return;
                        }
+                       __unreachable();
 
                    case MTRESET:
                        /*



Home | Main Index | Thread Index | Old Index