From: John Hodge Date: Tue, 8 Oct 2013 15:13:42 +0000 (+0800) Subject: Modules/ATA - Fixed uninitialised variable X-Git-Tag: rel0.15~123 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4196f2f4fbded54889dcd5f41118565fde65fa51;p=tpg%2Facess2.git Modules/ATA - Fixed uninitialised variable --- diff --git a/KernelLand/Modules/Storage/ATA/io.c b/KernelLand/Modules/Storage/ATA/io.c index b15918e1..28ae8996 100644 --- a/KernelLand/Modules/Storage/ATA/io.c +++ b/KernelLand/Modules/Storage/ATA/io.c @@ -305,7 +305,7 @@ int ATA_DoDMA(Uint8 Disk, Uint64 Address, Uint Count, int bWrite, void *Buffer) int cont = (Disk>>1)&1; // Controller ID int disk = Disk & 1; Uint16 base; - int bUseBounceBuffer; + int bUseBounceBuffer = 0; ENTER("iDisk XAddress iCount bbWrite pBuffer", Disk, Address, Count, bWrite, Buffer);