Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-2595

Fix compiler warning in packing tests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.0
    • Labels:
      None

      Description

      When I build the packing tests using GCC I see:

      ../../../test/packing/intpack-test3.c: In function ‘test_value’:
      ../../../test/packing/intpack-test3.c:53:10: error: ‘soutput’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
         fprintf(stderr, "mismatch %" PRIu64 ", %" PRIu64 "\n",
                ^
      

        Attachments

          Activity

            People

            • Assignee:
              alexander.gorrod Alexander Gorrod
              Reporter:
              alexander.gorrod Alexander Gorrod
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: