summaryrefslogtreecommitdiffstats
path: root/sys/dev/ata/ata-all.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-03-19 12:14:14 +0000
committerpeter <peter@FreeBSD.org>2002-03-19 12:14:14 +0000
commit83e5f607224eed5a9da34b933fb05edf42fa244e (patch)
treee4b3243f5a7755501d7b67f39aae23b15ff38c4a /sys/dev/ata/ata-all.c
parent8f10826d06a8b54320e4a787fc6db3a6a552666b (diff)
downloadFreeBSD-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.c2
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)
OpenPOWER on IntegriCloud