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

Fix compiler warning in packing tests

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • WT2.9.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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",
                ^
      

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

              Created:
              Updated:
              Resolved: