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

Fix compiler warning in packing tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • WT2.9.0
    • None
    • 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

            alexander.gorrod@mongodb.com Alexander Gorrod
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: