projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
580e332
)
Suppress initialized variable compile warning in ata.c.
author
Kevin O'Connor
<kevin@koconnor.net>
Sat, 7 Feb 2009 05:03:11 +0000
(
00:03
-0500)
committer
Kevin O'Connor
<kevin@koconnor.net>
Sat, 7 Feb 2009 05:03:11 +0000
(
00:03
-0500)
src/ata.c
patch
|
blob
|
history
diff --git
a/src/ata.c
b/src/ata.c
index 231761bb4a2ed0b4fde6d6ce4156557e84bcfba6..33183053e3ce1316315ef0d552e38180a059897e 100644
(file)
--- 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;