diff options
author | phk <phk@FreeBSD.org> | 2004-06-16 08:12:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-16 08:12:06 +0000 |
commit | 67632d242d379fd7607a45f2aa9a850209ce2289 (patch) | |
tree | 0e2ff45bf08c39bc10bb5ad07ebf603e3ab2a593 /sys | |
parent | 315177e2ec1ca3abcbf7ba544d72b1c88d464eaf (diff) | |
download | FreeBSD-src-67632d242d379fd7607a45f2aa9a850209ce2289.zip FreeBSD-src-67632d242d379fd7607a45f2aa9a850209ce2289.tar.gz |
Premptively fix GCC3.4 issue: add break; after empty default: clauses.
PR: 65493
Submitted by: Pawel Worach <sajd@telia.com>
Diffstat (limited to 'sys')
-rw-r--r-- | sys/boot/i386/libi386/biosdisk.c | 1 | ||||
-rw-r--r-- | sys/boot/pc98/libpc98/biosdisk.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/sys/boot/i386/libi386/biosdisk.c b/sys/boot/i386/libi386/biosdisk.c index 25faefc..aeac2e3 100644 --- a/sys/boot/i386/libi386/biosdisk.c +++ b/sys/boot/i386/libi386/biosdisk.c @@ -833,6 +833,7 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, siz return (0); default: /* DO NOTHING */ + break; } return EROFS; diff --git a/sys/boot/pc98/libpc98/biosdisk.c b/sys/boot/pc98/libpc98/biosdisk.c index da774b2..9b2a535 100644 --- a/sys/boot/pc98/libpc98/biosdisk.c +++ b/sys/boot/pc98/libpc98/biosdisk.c @@ -343,6 +343,7 @@ bd_print(int verbose) line, verbose); break; default: + beak; } } #else @@ -988,6 +989,7 @@ bd_realstrategy(void *devdata, int rw, daddr_t dblk, size_t size, char *buf, siz return (0); default: /* DO NOTHING */ + beak; } return EROFS; |