{"action":"closed","number":1677,"pull_request":{"url":"https://api.github.com/repos/libretro/RetroArch/pulls/1677","id":34963935,"html_url":"https://github.com/libretro/RetroArch/pull/1677","diff_url":"https://github.com/libretro/RetroArch/pull/1677.diff","patch_url":"https://github.com/libretro/RetroArch/pull/1677.patch","issue_url":"https://api.github.com/repos/libretro/RetroArch/issues/1677","number":1677,"state":"closed","locked":false,"title":"file_ops: Get rid of unnecessary if statement","user":{"login":"lioncash","id":712067,"avatar_url":"https://avatars.githubusercontent.com/u/712067?v=3","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"body":"fread won't null out the given buffer; nullity is already checked above the fread call.","created_at":"2015-05-07T22:14:58Z","updated_at":"2015-05-08T06:23:54Z","closed_at":"2015-05-08T06:23:54Z","merged_at":"2015-05-08T06:23:54Z","merge_commit_sha":"8ba7faaabebd90b9a0764ad73c3969d468d813cf","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/libretro/RetroArch/pulls/1677/commits","review_comments_url":"https://api.github.com/repos/libretro/RetroArch/pulls/1677/comments","review_comment_url":"https://api.github.com/repos/libretro/RetroArch/pulls/comments{/number}","comments_url":"https://api.github.com/repos/libretro/RetroArch/issues/1677/comments","statuses_url":"https://api.github.com/repos/libretro/RetroArch/statuses/61b8e370ca14f1cba6e3532e9ea83bfba80c3ae6","head":{"label":"lioncash:file","ref":"file","sha":"61b8e370ca14f1cba6e3532e9ea83bfba80c3ae6","user":{"login":"lioncash","id":712067,"avatar_url":"https://avatars.githubusercontent.com/u/712067?v=3","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"repo":{"id":21744868,"name":"RetroArch","full_name":"lioncash/RetroArch","owner":{"login":"lioncash","id":712067,"avatar_url":"https://avatars.githubusercontent.com/u/712067?v=3","gravatar_id":"","url":"https://api.github.com/users/lioncash","html_url":"https://github.com/lioncash","followers_url":"https://api.github.com/users/lioncash/followers","following_url":"https://api.github.com/users/lioncash/following{/other_user}","gists_url":"https://api.github.com/users/lioncash/gists{/gist_id}","starred_url":"https://api.github.com/users/lioncash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lioncash/subscriptions","organizations_url":"https://api.github.com/users/lioncash/orgs","repos_url":"https://api.github.com/users/lioncash/repos","events_url":"https://api.github.com/users/lioncash/events{/privacy}","received_events_url":"https://api.github.com/users/lioncash/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lioncash/RetroArch","description":"Reference frontend for the libretro API.","fork":true,"url":"https://api.github.com/repos/lioncash/RetroArch","forks_url":"https://api.github.com/repos/lioncash/RetroArch/forks","keys_url":"https://api.github.com/repos/lioncash/RetroArch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lioncash/RetroArch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lioncash/RetroArch/teams","hooks_url":"https://api.github.com/repos/lioncash/RetroArch/hooks","issue_events_url":"https://api.github.com/repos/lioncash/RetroArch/issues/events{/number}","events_url":"https://api.github.com/repos/lioncash/RetroArch/events","assignees_url":"https://api.github.com/repos/lioncash/RetroArch/assignees{/user}","branches_url":"https://api.github.com/repos/lioncash/RetroArch/branches{/branch}","tags_url":"https://api.github.com/repos/lioncash/RetroArch/tags","blobs_url":"https://api.github.com/repos/lioncash/RetroArch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lioncash/RetroArch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lioncash/RetroArch/git/refs{/sha}","trees_url":"https://api.github.com/repos/lioncash/RetroArch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lioncash/RetroArch/statuses/{sha}","languages_url":"https://api.github.com/repos/lioncash/RetroArch/languages","stargazers_url":"https://api.github.com/repos/lioncash/RetroArch/stargazers","contributors_url":"https://api.github.com/repos/lioncash/RetroArch/contributors","subscribers_url":"https://api.github.com/repos/lioncash/RetroArch/subscribers","subscription_url":"https://api.github.com/repos/lioncash/RetroArch/subscription","commits_url":"https://api.github.com/repos/lioncash/RetroArch/commits{/sha}","git_commits_url":"https://api.github.com/repos/lioncash/RetroArch/git/commits{/sha}","comments_url":"https://api.github.com/repos/lioncash/RetroArch/comments{/number}","issue_comment_url":"https://api.github.com/repos/lioncash/RetroArch/issues/comments{/number}","contents_url":"https://api.github.com/repos/lioncash/RetroArch/contents/{+path}","compare_url":"https://api.github.com/repos/lioncash/RetroArch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lioncash/RetroArch/merges","archive_url":"https://api.github.com/repos/lioncash/RetroArch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lioncash/RetroArch/downloads","issues_url":"https://api.github.com/repos/lioncash/RetroArch/issues{/number}","pulls_url":"https://api.github.com/repos/lioncash/RetroArch/pulls{/number}","milestones_url":"https://api.github.com/repos/lioncash/RetroArch/milestones{/number}","notifications_url":"https://api.github.com/repos/lioncash/RetroArch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lioncash/RetroArch/labels{/name}","releases_url":"https://api.github.com/repos/lioncash/RetroArch/releases{/id}","created_at":"2014-07-11T17:18:06Z","updated_at":"2015-04-02T12:28:03Z","pushed_at":"2015-05-07T22:21:23Z","git_url":"git://github.com/lioncash/RetroArch.git","ssh_url":"git@github.com:lioncash/RetroArch.git","clone_url":"https://github.com/lioncash/RetroArch.git","svn_url":"https://github.com/lioncash/RetroArch","homepage":"http://www.libretro.com","size":72050,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"libretro:master","ref":"master","sha":"f2d481f4215362c60f8dbe9b814b505ca002360c","user":{"login":"libretro","id":1812827,"avatar_url":"https://avatars.githubusercontent.com/u/1812827?v=3","gravatar_id":"","url":"https://api.github.com/users/libretro","html_url":"https://github.com/libretro","followers_url":"https://api.github.com/users/libretro/followers","following_url":"https://api.github.com/users/libretro/following{/other_user}","gists_url":"https://api.github.com/users/libretro/gists{/gist_id}","starred_url":"https://api.github.com/users/libretro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libretro/subscriptions","organizations_url":"https://api.github.com/users/libretro/orgs","repos_url":"https://api.github.com/users/libretro/repos","events_url":"https://api.github.com/users/libretro/events{/privacy}","received_events_url":"https://api.github.com/users/libretro/received_events","type":"Organization","site_admin":false},"repo":{"id":689344,"name":"RetroArch","full_name":"libretro/RetroArch","owner":{"login":"libretro","id":1812827,"avatar_url":"https://avatars.githubusercontent.com/u/1812827?v=3","gravatar_id":"","url":"https://api.github.com/users/libretro","html_url":"https://github.com/libretro","followers_url":"https://api.github.com/users/libretro/followers","following_url":"https://api.github.com/users/libretro/following{/other_user}","gists_url":"https://api.github.com/users/libretro/gists{/gist_id}","starred_url":"https://api.github.com/users/libretro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/libretro/subscriptions","organizations_url":"https://api.github.com/users/libretro/orgs","repos_url":"https://api.github.com/users/libretro/repos","events_url":"https://api.github.com/users/libretro/events{/privacy}","received_events_url":"https://api.github.com/users/libretro/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/libretro/RetroArch","description":"Reference frontend for the libretro API.","fork":false,"url":"https://api.github.com/repos/libretro/RetroArch","forks_url":"https://api.github.com/repos/libretro/RetroArch/forks","keys_url":"https://api.github.com/repos/libretro/RetroArch/keys{/key_id}","collaborators_url":"https://api.github.com/repos/libretro/RetroArch/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/libretro/RetroArch/teams","hooks_url":"https://api.github.com/repos/libretro/RetroArch/hooks","issue_events_url":"https://api.github.com/repos/libretro/RetroArch/issues/events{/number}","events_url":"https://api.github.com/repos/libretro/RetroArch/events","assignees_url":"https://api.github.com/repos/libretro/RetroArch/assignees{/user}","branches_url":"https://api.github.com/repos/libretro/RetroArch/branches{/branch}","tags_url":"https://api.github.com/repos/libretro/RetroArch/tags","blobs_url":"https://api.github.com/repos/libretro/RetroArch/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/libretro/RetroArch/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/libretro/RetroArch/git/refs{/sha}","trees_url":"https://api.github.com/repos/libretro/RetroArch/git/trees{/sha}","statuses_url":"https://api.github.com/repos/libretro/RetroArch/statuses/{sha}","languages_url":"https://api.github.com/repos/libretro/RetroArch/languages","stargazers_url":"https://api.github.com/repos/libretro/RetroArch/stargazers","contributors_url":"https://api.github.com/repos/libretro/RetroArch/contributors","subscribers_url":"https://api.github.com/repos/libretro/RetroArch/subscribers","subscription_url":"https://api.github.com/repos/libretro/RetroArch/subscription","commits_url":"https://api.github.com/repos/libretro/RetroArch/commits{/sha}","git_commits_url":"https://api.github.com/repos/libretro/RetroArch/git/commits{/sha}","comments_url":"https://api.github.com/repos/libretro/RetroArch/comments{/number}","issue_comment_url":"https://api.github.com/repos/libretro/RetroArch/issues/comments{/number}","contents_url":"https://api.github.com/repos/libretro/RetroArch/contents/{+path}","compare_url":"https://api.github.com/repos/libretro/RetroArch/compare/{base}...{head}","merges_url":"https://api.github.com/repos/libretro/RetroArch/merges","archive_url":"https://api.github.com/repos/libretro/RetroArch/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/libretro/RetroArch/downloads","issues_url":"https://api.github.com/repos/libretro/RetroArch/issues{/number}","pulls_url":"https://api.github.com/repos/libretro/RetroArch/pulls{/number}","milestones_url":"https://api.github.com/repos/libretro/RetroArch/milestones{/number}","notifications_url":"https://api.github.com/repos/libretro/RetroArch/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/libretro/RetroArch/labels{/name}","releases_url":"https://api.github.com/repos/libretro/RetroArch/releases{/id}","created_at":"2010-05-27T14:47:40Z","updated_at":"2015-05-07T15:15:02Z","pushed_at":"2015-05-08T06:23:54Z","git_url":"git://github.com/libretro/RetroArch.git","ssh_url":"git@github.com:libretro/RetroArch.git","clone_url":"https://github.com/libretro/RetroArch.git","svn_url":"https://github.com/libretro/RetroArch","homepage":"http://www.libretro.com","size":102129,"stargazers_count":636,"watchers_count":636,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":229,"mirror_url":null,"open_issues_count":74,"forks":229,"open_issues":74,"watchers":636,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/libretro/RetroArch/pulls/1677"},"html":{"href":"https://github.com/libretro/RetroArch/pull/1677"},"issue":{"href":"https://api.github.com/repos/libretro/RetroArch/issues/1677"},"comments":{"href":"https://api.github.com/repos/libretro/RetroArch/issues/1677/comments"},"review_comments":{"href":"https://api.github.com/repos/libretro/RetroArch/pulls/1677/comments"},"review_comment":{"href":"https://api.github.com/repos/libretro/RetroArch/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/libretro/RetroArch/pulls/1677/commits"},"statuses":{"href":"https://api.github.com/repos/libretro/RetroArch/statuses/61b8e370ca14f1cba6e3532e9ea83bfba80c3ae6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"twinaphex","id":1075274,"avatar_url":"https://avatars.githubusercontent.com/u/1075274?v=3","gravatar_id":"","url":"https://api.github.com/users/twinaphex","html_url":"https://github.com/twinaphex","followers_url":"https://api.github.com/users/twinaphex/followers","following_url":"https://api.github.com/users/twinaphex/following{/other_user}","gists_url":"https://api.github.com/users/twinaphex/gists{/gist_id}","starred_url":"https://api.github.com/users/twinaphex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twinaphex/subscriptions","organizations_url":"https://api.github.com/users/twinaphex/orgs","repos_url":"https://api.github.com/users/twinaphex/repos","events_url":"https://api.github.com/users/twinaphex/events{/privacy}","received_events_url":"https://api.github.com/users/twinaphex/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":0,"deletions":3,"changed_files":1}}