X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Modules%2FStorage%2FFDD%2Ffdd.c;h=42150a95856286f4b68a7aa92b56e86b300d6d1e;hb=952891ddb96a341c0e24ecb7dec6361c7bbeaece;hp=801f2eb7d0b12da1c00f3457e5432cf5595d94f3;hpb=98d45a155c3ce437d0eddb67b9eb2b203f87ec3b;p=tpg%2Facess2.git diff --git a/Modules/Storage/FDD/fdd.c b/Modules/Storage/FDD/fdd.c index 801f2eb7..42150a95 100644 --- a/Modules/Storage/FDD/fdd.c +++ b/Modules/Storage/FDD/fdd.c @@ -176,7 +176,7 @@ int FDD_Install(char **Arguments) // Ensure the FDD version is 0x90 { - Uint8 tmp; + Uint8 tmp = 0; FDD_int_SendByte(cPORTBASE[0], CMD_VERSION); FDD_int_GetByte(cPORTBASE[0], &tmp); if( tmp != 0x90 ) { @@ -584,7 +584,7 @@ int FDD_WriteSector(Uint32 Disk, Uint64 LBA, void *Buffer) */ int FDD_int_SeekTrack(int disk, int head, int track) { - Uint8 sr0, cyl; + Uint8 sr0=0, cyl=0; int base; base = cPORTBASE[disk>>1];