{"action":"closed","issue":{"url":"https://api.github.com/repos/NICMx/NAT64/issues/188","labels_url":"https://api.github.com/repos/NICMx/NAT64/issues/188/labels{/name}","comments_url":"https://api.github.com/repos/NICMx/NAT64/issues/188/comments","events_url":"https://api.github.com/repos/NICMx/NAT64/issues/188/events","html_url":"https://github.com/NICMx/NAT64/issues/188","id":116661937,"number":188,"title":"Compilation warnings in old versions of gcc","user":{"login":"ydahhrk","id":2389655,"avatar_url":"https://avatars.githubusercontent.com/u/2389655?v=3","gravatar_id":"","url":"https://api.github.com/users/ydahhrk","html_url":"https://github.com/ydahhrk","followers_url":"https://api.github.com/users/ydahhrk/followers","following_url":"https://api.github.com/users/ydahhrk/following{/other_user}","gists_url":"https://api.github.com/users/ydahhrk/gists{/gist_id}","starred_url":"https://api.github.com/users/ydahhrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ydahhrk/subscriptions","organizations_url":"https://api.github.com/users/ydahhrk/orgs","repos_url":"https://api.github.com/users/ydahhrk/repos","events_url":"https://api.github.com/users/ydahhrk/events{/privacy}","received_events_url":"https://api.github.com/users/ydahhrk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NICMx/NAT64/labels/Bug%20(non-critical)","name":"Bug (non-critical)","color":"207de5"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-12T23:04:34Z","updated_at":"2015-11-19T18:37:15Z","closed_at":"2015-11-19T18:37:15Z","body":"Discovered while testing #152.\r\n\r\n\t$ gcc --version\r\n\tgcc (SUSE Linux) 4.3.4 [gcc-4_3-branch revision 152973]\r\n\tCopyright (C) 2008 Free Software Foundation, Inc.\r\n\tThis is free software; see the source for copying conditions.  There is NO\r\n\twarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n\t$ cd NAT64/mod/stateful\r\n\t$ make > /dev/null\r\n\tpool4/table.c: In function ‘pool4table_rm’:\r\n\tpool4/table.c:321: warning: ‘error’ may be used uninitialized in this function\r\n\tpool4/empty.c: In function ‘pool4empty_foreach_taddr4’:\r\n\tpool4/empty.c:147: warning: ‘saddr.s_addr’ may be used uninitialized in this function\r\n\r\nI hadn't reported nor cared about this earlier because they're false alarms (and release 3.4.0 had too much stuff already). I guess the code gets a little complicated due to the multiple function layers involved and the analyzer gets confused. Newer versions of gcc do not report these warnings and I do not see how the variables might be used uninitialized."}}