Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-6733

uniata: Code defect found by cppcheck

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      Running a scan with cppcheck, it found the same expression on both sides of ||, lines 1528 and 1530 in id_init.cpp

      if(!LunExt->IdentifyData.SectorsPerTrack || <---
      !LunExt->IdentifyData.NumberOfCylinders ||
      !LunExt->IdentifyData.SectorsPerTrack) <---

      Assigned to the author of uniata

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                alter-1 Alter
                Reporter:
                r3ddr4g0n R3dDr4g0n
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: