From: Kevin O'Connor Date: Sat, 7 Feb 2009 05:03:11 +0000 (-0500) Subject: Suppress initialized variable compile warning in ata.c. X-Git-Tag: rel-0.4.1~155 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=5eac1ddafa2b1efd1f10547e2306540fc995e23d;p=seabios.git 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 @@ static void ata_detect() { // Device detection - int driveid, last_reset_driveid; + int driveid, last_reset_driveid=-1; for(driveid=0; driveid