Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-21738

Can't ignore return value of fread

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.2.0
    • Fix Version/s: 7.2.0
    • Component/s: Build process
    • Labels:
      None

      Description

      /var/lib/jenkins2/workspace/CE-Candidate-7.2.0-rc2/CE/ubuntu-16.04-amd64/HPCC-Platform/system/globalid/lnuid.cpp:90:53: error: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Werror=unused-result]

      fread(&randomdata, 1, random_byte_count, fp);

        Attachments

          Activity

            People

            • Assignee:
              shamser Shamser Ahmed
              Reporter:
              shamser Shamser Ahmed
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: