Fix compiler warning in packing tests

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • WT2.9.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • 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
            Reporter:
            Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: