commit | 5eac1ddafa2b1efd1f10547e2306540fc995e23d | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 07 00:03:11 2009 -0500 |
committer | Kevin O'Connor <kevin@koconnor.net> | Sat Feb 07 00:03:11 2009 -0500 |
tree | 22d74da59d958cc8c3b56d0b90d5dac478285f5e | |
parent | 580e33293244fee4556e56ecc67b8bd877f3c496 [diff] |
Suppress initialized variable compile warning in ata.c.
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 @@ 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;