Uploaded image for project: 'vtn'
  1. vtn
  2. VTN-67

VTN Coordinator UT is unable to be built on Fedora 21 (x86_64).

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • unspecified
    • None
    • Core
    • None
    • Operating System: All
      Platform: All

    • 3299

    Description

      I observed the following error when I built VTN Coordinator UT on Fedora 21 (x86_64).

      sub_flock.c: In function 'main':
      sub_flock.c:259:3: error: 'contents' may be used uninitialized in this function [-Werror=maybe-uninitialized]
      free(contents);
      ^
      sub_flock.c:190:9: note: 'contents' was declared here
      char *contents;
      ^

      Although this test never uses uninitialized variable, this error should be fixed.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            yasuda Shigeru Yasuda
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: