Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/cardbus Slight tweak to previous; C requires a state...



details:   https://anonhg.NetBSD.org/src/rev/8527f4b67d38
branches:  trunk
changeset: 512862:8527f4b67d38
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Jul 18 15:24:24 2001 +0000

description:
Slight tweak to previous; C requires a statement after a label.

diffstat:

 sys/dev/cardbus/if_tlp_cardbus.c |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r e623cb3808a6 -r 8527f4b67d38 sys/dev/cardbus/if_tlp_cardbus.c
--- a/sys/dev/cardbus/if_tlp_cardbus.c  Wed Jul 18 14:02:43 2001 +0000
+++ b/sys/dev/cardbus/if_tlp_cardbus.c  Wed Jul 18 15:24:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_tlp_cardbus.c,v 1.29 2001/07/18 10:39:28 onoe Exp $ */
+/*     $NetBSD: if_tlp_cardbus.c,v 1.30 2001/07/18 15:24:24 thorpej Exp $      */
 
 /*-
  * Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
@@ -270,6 +270,7 @@
 
        default:
                /* Nothing. -- to make gcc happy */
+               break;
        }
 
        printf(": %s Ethernet, pass %d.%d\n",
@@ -572,6 +573,7 @@
 
        default:
                /* Nothing. -- to make gcc happy */
+               break;
        }
 
        if (cardbus_get_capability(cc, cf, csc->sc_tag,



Home | Main Index | Thread Index | Old Index