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/0b33f32bae26
branches:  trunk
changeset: 1005187:0b33f32bae26
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 d824998364f6 -r 0b33f32bae26 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