[VTN-67] VTN Coordinator UT is unable to be built on Fedora 21 (x86_64). Created: 20/May/15  Updated: 19/Oct/17  Resolved: 28/May/15

Status: Resolved
Project: vtn
Component/s: Core
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Shigeru Yasuda Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 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.



 Comments   
Comment by Shigeru Yasuda [ 20/May/15 ]

https://git.opendaylight.org/gerrit/20800 (stable/lithium)

Comment by Shigeru Yasuda [ 27/May/15 ]

https://git.opendaylight.org/gerrit/21240 (master)

Generated at Wed Feb 07 20:47:55 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.