mirror of
https://github.com/aaru-dps/Aaru.Server.git
synced 2025-12-16 19:24:27 +00:00
Corrected some variables preinitialization.
This commit is contained in:
@@ -328,7 +328,7 @@ void AtaReport(int fd, xmlTextWriterPtr xmlWriter)
|
||||
xmlTextWriterWriteFormatElement(xmlWriter, BAD_CAST "UnformattedBPS", "%u",
|
||||
le16toh(identify->UnformattedBPS));
|
||||
|
||||
uint64_t blocks;
|
||||
uint64_t blocks = 0;
|
||||
|
||||
if(identify->Cylinders > 0 && identify->Heads > 0 && identify->SectorsPerTrack != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user