aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2009-02-07 00:03:11 -0500
committerKevin O'Connor <kevin@koconnor.net>2009-02-07 00:03:11 -0500
commit5eac1ddafa2b1efd1f10547e2306540fc995e23d (patch)
tree22d74da59d958cc8c3b56d0b90d5dac478285f5e
parent580e33293244fee4556e56ecc67b8bd877f3c496 (diff)
downloadseabios-hppa-5eac1ddafa2b1efd1f10547e2306540fc995e23d.zip
seabios-hppa-5eac1ddafa2b1efd1f10547e2306540fc995e23d.tar.gz
seabios-hppa-5eac1ddafa2b1efd1f10547e2306540fc995e23d.tar.bz2
Suppress initialized variable compile warning in ata.c.
-rw-r--r--src/ata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ata.c b/src/ata.c
index 231761b..3318305 100644
--- a/src/ata.c
+++ b/src/ata.c
@@ -795,7 +795,7 @@ static void
ata_detect()
{
// Device detection
- int driveid, last_reset_driveid;
+ int driveid, last_reset_driveid=-1;
for(driveid=0; driveid<CONFIG_MAX_ATA_DEVICES; driveid++) {
u8 channel = driveid / 2;
u8 slave = driveid % 2;