diff options
author | peter <peter@FreeBSD.org> | 2002-03-19 12:14:14 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-03-19 12:14:14 +0000 |
commit | 83e5f607224eed5a9da34b933fb05edf42fa244e (patch) | |
tree | e4b3243f5a7755501d7b67f39aae23b15ff38c4a /sys/dev/ata/ata-all.c | |
parent | 8f10826d06a8b54320e4a787fc6db3a6a552666b (diff) | |
download | FreeBSD-src-83e5f607224eed5a9da34b933fb05edf42fa244e.zip FreeBSD-src-83e5f607224eed5a9da34b933fb05edf42fa244e.tar.gz |
Add some break's after default: in the end of switch statements to
keep gcc-3.1+ happy:
ata-all.c:410: warning: deprecated use of label at end of compound statement
ata-all.c:587: warning: deprecated use of label at end of compound statement
ata-raid.c:99: warning: deprecated use of label at end of compound statement
ata-raid.c:151: warning: deprecated use of label at end of compound statement
Diffstat (limited to 'sys/dev/ata/ata-all.c')
-rw-r--r-- | sys/dev/ata/ata-all.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/ata/ata-all.c b/sys/dev/ata/ata-all.c index 5ac0510..6b25699 100644 --- a/sys/dev/ata/ata-all.c +++ b/sys/dev/ata/ata-all.c @@ -407,6 +407,7 @@ ataioctl(dev_t dev, u_long cmd, caddr_t addr, int32_t flag, struct thread *td) } #endif default: + break; } return ENOTTY; } @@ -584,6 +585,7 @@ ata_intr(void *data) intr_count, ch->active, ch->status); } #endif + break; } ch->active &= ATA_CONTROL; if (ch->active & ATA_CONTROL) |