Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/m68k Add missing FALLTHROUGH (I am not 100% ce...



details:   https://anonhg.NetBSD.org/src/rev/e07493b160ad
branches:  trunk
changeset: 460517:e07493b160ad
user:      christos <christos%NetBSD.org@localhost>
date:      Sat Oct 26 17:50:18 2019 +0000

description:
Add missing FALLTHROUGH (I am not 100% certain if this is correct), but
breaking/returning will end up printing nothing.

diffstat:

 sys/arch/m68k/m68k/db_disasm.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r c432029a91f9 -r e07493b160ad sys/arch/m68k/m68k/db_disasm.c
--- a/sys/arch/m68k/m68k/db_disasm.c    Sat Oct 26 17:49:34 2019 +0000
+++ b/sys/arch/m68k/m68k/db_disasm.c    Sat Oct 26 17:50:18 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.43 2019/07/11 03:49:51 msaitoh Exp $   */
+/*     $NetBSD: db_disasm.c,v 1.44 2019/10/26 17:50:18 christos Exp $  */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -63,7 +63,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.43 2019/07/11 03:49:51 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_disasm.c,v 1.44 2019/10/26 17:50:18 christos Exp $");
 
 #include <sys/param.h>
 #ifdef _KERNEL
@@ -1493,6 +1493,7 @@
                        return;
 
                }
+               /* FALLTHROUGH */
        /* cpBcc */
        case 2:
                if (BITFIELD(opc,5,0) == 0 && *(dbuf->val + 1) == 0) {



Home | Main Index | Thread Index | Old Index