{"action":"closed","number":784,"pull_request":{"url":"https://api.github.com/repos/merbanan/rtl_433/pulls/784","id":206149102,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2MTQ5MTAy","html_url":"https://github.com/merbanan/rtl_433/pull/784","diff_url":"https://github.com/merbanan/rtl_433/pull/784.diff","patch_url":"https://github.com/merbanan/rtl_433/pull/784.patch","issue_url":"https://api.github.com/repos/merbanan/rtl_433/issues/784","number":784,"state":"closed","locked":false,"title":" Adding default case to suppress maybe-uninitialized Warning from GCC","user":{"login":"andreasmarkussen","id":6911804,"node_id":"MDQ6VXNlcjY5MTE4MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6911804?v=4","gravatar_id":"","url":"https://api.github.com/users/andreasmarkussen","html_url":"https://github.com/andreasmarkussen","followers_url":"https://api.github.com/users/andreasmarkussen/followers","following_url":"https://api.github.com/users/andreasmarkussen/following{/other_user}","gists_url":"https://api.github.com/users/andreasmarkussen/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasmarkussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasmarkussen/subscriptions","organizations_url":"https://api.github.com/users/andreasmarkussen/orgs","repos_url":"https://api.github.com/users/andreasmarkussen/repos","events_url":"https://api.github.com/users/andreasmarkussen/events{/privacy}","received_events_url":"https://api.github.com/users/andreasmarkussen/received_events","type":"User","site_admin":false},"body":"When running make inside ~/Projects/rtl_433/build, I get the following minor warning:\r\n\r\n    /root/Projects/rtl_433/src/rtl_433.c:1413:13: \r\n             warning: 'load_mode_str' may be used uninitialized in this function [-Wmaybe-uninitialized]\r\n             fprintf(stderr, \"Input format: %s\\n\", load_mode_str);\r\n             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n\r\nSo I have reviewed the error description and added a default case.\r\nI am aware that this will never happen, since the load_mode is checked to be an int between 0 and 4.\r\n\r\nSee \r\n[GCC Warning Options](https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wmaybe-uninitialized).\r\n\r\nI also considered to suppress the warning on line level, but I was not able to find out how. \r\n","created_at":"2018-08-03T22:05:30Z","updated_at":"2018-08-27T07:03:03Z","closed_at":"2018-08-27T07:03:03Z","merged_at":"2018-08-27T07:03:03Z","merge_commit_sha":"eaeeb84d7f490181b37359af32233c2a3a8fdfd6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/merbanan/rtl_433/pulls/784/commits","review_comments_url":"https://api.github.com/repos/merbanan/rtl_433/pulls/784/comments","review_comment_url":"https://api.github.com/repos/merbanan/rtl_433/pulls/comments{/number}","comments_url":"https://api.github.com/repos/merbanan/rtl_433/issues/784/comments","statuses_url":"https://api.github.com/repos/merbanan/rtl_433/statuses/a50ee6cb50a873f11edc9ffde59d5fe73d4d033f","head":{"label":"andreasmarkussen:master","ref":"master","sha":"a50ee6cb50a873f11edc9ffde59d5fe73d4d033f","user":{"login":"andreasmarkussen","id":6911804,"node_id":"MDQ6VXNlcjY5MTE4MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6911804?v=4","gravatar_id":"","url":"https://api.github.com/users/andreasmarkussen","html_url":"https://github.com/andreasmarkussen","followers_url":"https://api.github.com/users/andreasmarkussen/followers","following_url":"https://api.github.com/users/andreasmarkussen/following{/other_user}","gists_url":"https://api.github.com/users/andreasmarkussen/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasmarkussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasmarkussen/subscriptions","organizations_url":"https://api.github.com/users/andreasmarkussen/orgs","repos_url":"https://api.github.com/users/andreasmarkussen/repos","events_url":"https://api.github.com/users/andreasmarkussen/events{/privacy}","received_events_url":"https://api.github.com/users/andreasmarkussen/received_events","type":"User","site_admin":false},"repo":{"id":143213436,"node_id":"MDEwOlJlcG9zaXRvcnkxNDMyMTM0MzY=","name":"rtl_433","full_name":"andreasmarkussen/rtl_433","owner":{"login":"andreasmarkussen","id":6911804,"node_id":"MDQ6VXNlcjY5MTE4MDQ=","avatar_url":"https://avatars0.githubusercontent.com/u/6911804?v=4","gravatar_id":"","url":"https://api.github.com/users/andreasmarkussen","html_url":"https://github.com/andreasmarkussen","followers_url":"https://api.github.com/users/andreasmarkussen/followers","following_url":"https://api.github.com/users/andreasmarkussen/following{/other_user}","gists_url":"https://api.github.com/users/andreasmarkussen/gists{/gist_id}","starred_url":"https://api.github.com/users/andreasmarkussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreasmarkussen/subscriptions","organizations_url":"https://api.github.com/users/andreasmarkussen/orgs","repos_url":"https://api.github.com/users/andreasmarkussen/repos","events_url":"https://api.github.com/users/andreasmarkussen/events{/privacy}","received_events_url":"https://api.github.com/users/andreasmarkussen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/andreasmarkussen/rtl_433","description":"Program to decode traffic from Devices that are broadcasting on 433.9 MHz like temperature sensors","fork":true,"url":"https://api.github.com/repos/andreasmarkussen/rtl_433","forks_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/forks","keys_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/keys{/key_id}","collaborators_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/teams","hooks_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/hooks","issue_events_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/issues/events{/number}","events_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/events","assignees_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/assignees{/user}","branches_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/branches{/branch}","tags_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/tags","blobs_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/git/refs{/sha}","trees_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/git/trees{/sha}","statuses_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/statuses/{sha}","languages_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/languages","stargazers_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/stargazers","contributors_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/contributors","subscribers_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/subscribers","subscription_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/subscription","commits_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/commits{/sha}","git_commits_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/git/commits{/sha}","comments_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/comments{/number}","issue_comment_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/issues/comments{/number}","contents_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/contents/{+path}","compare_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/compare/{base}...{head}","merges_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/merges","archive_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/downloads","issues_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/issues{/number}","pulls_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/pulls{/number}","milestones_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/milestones{/number}","notifications_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/labels{/name}","releases_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/releases{/id}","deployments_url":"https://api.github.com/repos/andreasmarkussen/rtl_433/deployments","created_at":"2018-08-01T22:10:00Z","updated_at":"2018-08-06T14:45:29Z","pushed_at":"2018-08-06T14:45:27Z","git_url":"git://github.com/andreasmarkussen/rtl_433.git","ssh_url":"git@github.com:andreasmarkussen/rtl_433.git","clone_url":"https://github.com/andreasmarkussen/rtl_433.git","svn_url":"https://github.com/andreasmarkussen/rtl_433","homepage":"","size":2158,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"merbanan:master","ref":"master","sha":"2e52a1707233252c6d81ee00447c5065e958302b","user":{"login":"merbanan","id":124883,"node_id":"MDQ6VXNlcjEyNDg4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/124883?v=4","gravatar_id":"","url":"https://api.github.com/users/merbanan","html_url":"https://github.com/merbanan","followers_url":"https://api.github.com/users/merbanan/followers","following_url":"https://api.github.com/users/merbanan/following{/other_user}","gists_url":"https://api.github.com/users/merbanan/gists{/gist_id}","starred_url":"https://api.github.com/users/merbanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merbanan/subscriptions","organizations_url":"https://api.github.com/users/merbanan/orgs","repos_url":"https://api.github.com/users/merbanan/repos","events_url":"https://api.github.com/users/merbanan/events{/privacy}","received_events_url":"https://api.github.com/users/merbanan/received_events","type":"User","site_admin":false},"repo":{"id":7705639,"node_id":"MDEwOlJlcG9zaXRvcnk3NzA1NjM5","name":"rtl_433","full_name":"merbanan/rtl_433","owner":{"login":"merbanan","id":124883,"node_id":"MDQ6VXNlcjEyNDg4Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/124883?v=4","gravatar_id":"","url":"https://api.github.com/users/merbanan","html_url":"https://github.com/merbanan","followers_url":"https://api.github.com/users/merbanan/followers","following_url":"https://api.github.com/users/merbanan/following{/other_user}","gists_url":"https://api.github.com/users/merbanan/gists{/gist_id}","starred_url":"https://api.github.com/users/merbanan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/merbanan/subscriptions","organizations_url":"https://api.github.com/users/merbanan/orgs","repos_url":"https://api.github.com/users/merbanan/repos","events_url":"https://api.github.com/users/merbanan/events{/privacy}","received_events_url":"https://api.github.com/users/merbanan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/merbanan/rtl_433","description":"Program to decode traffic from Devices that are broadcasting on 433.9 MHz like temperature sensors","fork":false,"url":"https://api.github.com/repos/merbanan/rtl_433","forks_url":"https://api.github.com/repos/merbanan/rtl_433/forks","keys_url":"https://api.github.com/repos/merbanan/rtl_433/keys{/key_id}","collaborators_url":"https://api.github.com/repos/merbanan/rtl_433/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/merbanan/rtl_433/teams","hooks_url":"https://api.github.com/repos/merbanan/rtl_433/hooks","issue_events_url":"https://api.github.com/repos/merbanan/rtl_433/issues/events{/number}","events_url":"https://api.github.com/repos/merbanan/rtl_433/events","assignees_url":"https://api.github.com/repos/merbanan/rtl_433/assignees{/user}","branches_url":"https://api.github.com/repos/merbanan/rtl_433/branches{/branch}","tags_url":"https://api.github.com/repos/merbanan/rtl_433/tags","blobs_url":"https://api.github.com/repos/merbanan/rtl_433/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/merbanan/rtl_433/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/merbanan/rtl_433/git/refs{/sha}","trees_url":"https://api.github.com/repos/merbanan/rtl_433/git/trees{/sha}","statuses_url":"https://api.github.com/repos/merbanan/rtl_433/statuses/{sha}","languages_url":"https://api.github.com/repos/merbanan/rtl_433/languages","stargazers_url":"https://api.github.com/repos/merbanan/rtl_433/stargazers","contributors_url":"https://api.github.com/repos/merbanan/rtl_433/contributors","subscribers_url":"https://api.github.com/repos/merbanan/rtl_433/subscribers","subscription_url":"https://api.github.com/repos/merbanan/rtl_433/subscription","commits_url":"https://api.github.com/repos/merbanan/rtl_433/commits{/sha}","git_commits_url":"https://api.github.com/repos/merbanan/rtl_433/git/commits{/sha}","comments_url":"https://api.github.com/repos/merbanan/rtl_433/comments{/number}","issue_comment_url":"https://api.github.com/repos/merbanan/rtl_433/issues/comments{/number}","contents_url":"https://api.github.com/repos/merbanan/rtl_433/contents/{+path}","compare_url":"https://api.github.com/repos/merbanan/rtl_433/compare/{base}...{head}","merges_url":"https://api.github.com/repos/merbanan/rtl_433/merges","archive_url":"https://api.github.com/repos/merbanan/rtl_433/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/merbanan/rtl_433/downloads","issues_url":"https://api.github.com/repos/merbanan/rtl_433/issues{/number}","pulls_url":"https://api.github.com/repos/merbanan/rtl_433/pulls{/number}","milestones_url":"https://api.github.com/repos/merbanan/rtl_433/milestones{/number}","notifications_url":"https://api.github.com/repos/merbanan/rtl_433/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/merbanan/rtl_433/labels{/name}","releases_url":"https://api.github.com/repos/merbanan/rtl_433/releases{/id}","deployments_url":"https://api.github.com/repos/merbanan/rtl_433/deployments","created_at":"2013-01-19T16:40:34Z","updated_at":"2018-08-27T06:58:46Z","pushed_at":"2018-08-27T07:03:03Z","git_url":"git://github.com/merbanan/rtl_433.git","ssh_url":"git@github.com:merbanan/rtl_433.git","clone_url":"https://github.com/merbanan/rtl_433.git","svn_url":"https://github.com/merbanan/rtl_433","homepage":"","size":2142,"stargazers_count":1066,"watchers_count":1066,"language":"C","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":382,"mirror_url":null,"archived":false,"open_issues_count":131,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":382,"open_issues":131,"watchers":1066,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/merbanan/rtl_433/pulls/784"},"html":{"href":"https://github.com/merbanan/rtl_433/pull/784"},"issue":{"href":"https://api.github.com/repos/merbanan/rtl_433/issues/784"},"comments":{"href":"https://api.github.com/repos/merbanan/rtl_433/issues/784/comments"},"review_comments":{"href":"https://api.github.com/repos/merbanan/rtl_433/pulls/784/comments"},"review_comment":{"href":"https://api.github.com/repos/merbanan/rtl_433/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/merbanan/rtl_433/pulls/784/commits"},"statuses":{"href":"https://api.github.com/repos/merbanan/rtl_433/statuses/a50ee6cb50a873f11edc9ffde59d5fe73d4d033f"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"zuckschwerdt","id":12833,"node_id":"MDQ6VXNlcjEyODMz","avatar_url":"https://avatars1.githubusercontent.com/u/12833?v=4","gravatar_id":"","url":"https://api.github.com/users/zuckschwerdt","html_url":"https://github.com/zuckschwerdt","followers_url":"https://api.github.com/users/zuckschwerdt/followers","following_url":"https://api.github.com/users/zuckschwerdt/following{/other_user}","gists_url":"https://api.github.com/users/zuckschwerdt/gists{/gist_id}","starred_url":"https://api.github.com/users/zuckschwerdt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zuckschwerdt/subscriptions","organizations_url":"https://api.github.com/users/zuckschwerdt/orgs","repos_url":"https://api.github.com/users/zuckschwerdt/repos","events_url":"https://api.github.com/users/zuckschwerdt/events{/privacy}","received_events_url":"https://api.github.com/users/zuckschwerdt/received_events","type":"User","site_admin":false},"comments":4,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"zuckschwerdt"}}