{"action":"opened","number":409,"pull_request":{"url":"https://api.github.com/repos/redis/hiredis/pulls/409","id":66780312,"html_url":"https://github.com/redis/hiredis/pull/409","diff_url":"https://github.com/redis/hiredis/pull/409.diff","patch_url":"https://github.com/redis/hiredis/pull/409.patch","issue_url":"https://api.github.com/repos/redis/hiredis/issues/409","number":409,"state":"open","locked":false,"title":"test.c: Fix shadowed name with typedef when compiling with -Wshadow","user":{"login":"xor-gate","id":1050166,"avatar_url":"https://avatars.githubusercontent.com/u/1050166?v=3","gravatar_id":"","url":"https://api.github.com/users/xor-gate","html_url":"https://github.com/xor-gate","followers_url":"https://api.github.com/users/xor-gate/followers","following_url":"https://api.github.com/users/xor-gate/following{/other_user}","gists_url":"https://api.github.com/users/xor-gate/gists{/gist_id}","starred_url":"https://api.github.com/users/xor-gate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xor-gate/subscriptions","organizations_url":"https://api.github.com/users/xor-gate/orgs","repos_url":"https://api.github.com/users/xor-gate/repos","events_url":"https://api.github.com/users/xor-gate/events{/privacy}","received_events_url":"https://api.github.com/users/xor-gate/received_events","type":"User","site_admin":false},"body":"Fixes:\r\n```\r\n/data/files/users/jerry/github/hiredis/test.c: In function 'test_free_null':\r\n/data/files/users/jerry/github/hiredis/test.c:331:11: warning: declaration of 'redisContext' shadows a global declaration [-Wshadow]\r\n     void *redisContext = NULL;\r\n           ^\r\nIn file included from /data/files/users/jerry/github/hiredis/test.c:13:0:\r\n/data/files/users/jerry/github/hiredis/hiredis.h:161:3: note: shadowed declaration is here\r\n } redisContext;\r\n   ^\r\n```","created_at":"2016-04-17T20:34:38Z","updated_at":"2016-04-17T20:34:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/redis/hiredis/pulls/409/commits","review_comments_url":"https://api.github.com/repos/redis/hiredis/pulls/409/comments","review_comment_url":"https://api.github.com/repos/redis/hiredis/pulls/comments{/number}","comments_url":"https://api.github.com/repos/redis/hiredis/issues/409/comments","statuses_url":"https://api.github.com/repos/redis/hiredis/statuses/8a5fdf0c9eeefa7bdaac3af9ae21018ad9c2c23d","head":{"label":"xor-gate:fix-shadow-in-test","ref":"fix-shadow-in-test","sha":"8a5fdf0c9eeefa7bdaac3af9ae21018ad9c2c23d","user":{"login":"xor-gate","id":1050166,"avatar_url":"https://avatars.githubusercontent.com/u/1050166?v=3","gravatar_id":"","url":"https://api.github.com/users/xor-gate","html_url":"https://github.com/xor-gate","followers_url":"https://api.github.com/users/xor-gate/followers","following_url":"https://api.github.com/users/xor-gate/following{/other_user}","gists_url":"https://api.github.com/users/xor-gate/gists{/gist_id}","starred_url":"https://api.github.com/users/xor-gate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xor-gate/subscriptions","organizations_url":"https://api.github.com/users/xor-gate/orgs","repos_url":"https://api.github.com/users/xor-gate/repos","events_url":"https://api.github.com/users/xor-gate/events{/privacy}","received_events_url":"https://api.github.com/users/xor-gate/received_events","type":"User","site_admin":false},"repo":{"id":56455820,"name":"hiredis","full_name":"xor-gate/hiredis","owner":{"login":"xor-gate","id":1050166,"avatar_url":"https://avatars.githubusercontent.com/u/1050166?v=3","gravatar_id":"","url":"https://api.github.com/users/xor-gate","html_url":"https://github.com/xor-gate","followers_url":"https://api.github.com/users/xor-gate/followers","following_url":"https://api.github.com/users/xor-gate/following{/other_user}","gists_url":"https://api.github.com/users/xor-gate/gists{/gist_id}","starred_url":"https://api.github.com/users/xor-gate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xor-gate/subscriptions","organizations_url":"https://api.github.com/users/xor-gate/orgs","repos_url":"https://api.github.com/users/xor-gate/repos","events_url":"https://api.github.com/users/xor-gate/events{/privacy}","received_events_url":"https://api.github.com/users/xor-gate/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/xor-gate/hiredis","description":"Minimalistic C client for Redis >= 1.2","fork":true,"url":"https://api.github.com/repos/xor-gate/hiredis","forks_url":"https://api.github.com/repos/xor-gate/hiredis/forks","keys_url":"https://api.github.com/repos/xor-gate/hiredis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/xor-gate/hiredis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/xor-gate/hiredis/teams","hooks_url":"https://api.github.com/repos/xor-gate/hiredis/hooks","issue_events_url":"https://api.github.com/repos/xor-gate/hiredis/issues/events{/number}","events_url":"https://api.github.com/repos/xor-gate/hiredis/events","assignees_url":"https://api.github.com/repos/xor-gate/hiredis/assignees{/user}","branches_url":"https://api.github.com/repos/xor-gate/hiredis/branches{/branch}","tags_url":"https://api.github.com/repos/xor-gate/hiredis/tags","blobs_url":"https://api.github.com/repos/xor-gate/hiredis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/xor-gate/hiredis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/xor-gate/hiredis/git/refs{/sha}","trees_url":"https://api.github.com/repos/xor-gate/hiredis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/xor-gate/hiredis/statuses/{sha}","languages_url":"https://api.github.com/repos/xor-gate/hiredis/languages","stargazers_url":"https://api.github.com/repos/xor-gate/hiredis/stargazers","contributors_url":"https://api.github.com/repos/xor-gate/hiredis/contributors","subscribers_url":"https://api.github.com/repos/xor-gate/hiredis/subscribers","subscription_url":"https://api.github.com/repos/xor-gate/hiredis/subscription","commits_url":"https://api.github.com/repos/xor-gate/hiredis/commits{/sha}","git_commits_url":"https://api.github.com/repos/xor-gate/hiredis/git/commits{/sha}","comments_url":"https://api.github.com/repos/xor-gate/hiredis/comments{/number}","issue_comment_url":"https://api.github.com/repos/xor-gate/hiredis/issues/comments{/number}","contents_url":"https://api.github.com/repos/xor-gate/hiredis/contents/{+path}","compare_url":"https://api.github.com/repos/xor-gate/hiredis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/xor-gate/hiredis/merges","archive_url":"https://api.github.com/repos/xor-gate/hiredis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/xor-gate/hiredis/downloads","issues_url":"https://api.github.com/repos/xor-gate/hiredis/issues{/number}","pulls_url":"https://api.github.com/repos/xor-gate/hiredis/pulls{/number}","milestones_url":"https://api.github.com/repos/xor-gate/hiredis/milestones{/number}","notifications_url":"https://api.github.com/repos/xor-gate/hiredis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/xor-gate/hiredis/labels{/name}","releases_url":"https://api.github.com/repos/xor-gate/hiredis/releases{/id}","deployments_url":"https://api.github.com/repos/xor-gate/hiredis/deployments","created_at":"2016-04-17T20:04:07Z","updated_at":"2016-04-17T20:04:08Z","pushed_at":"2016-04-17T20:34:09Z","git_url":"git://github.com/xor-gate/hiredis.git","ssh_url":"git@github.com:xor-gate/hiredis.git","clone_url":"https://github.com/xor-gate/hiredis.git","svn_url":"https://github.com/xor-gate/hiredis","homepage":"","size":988,"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":"redis:master","ref":"master","sha":"1b8ed38843319e17c54021a3b2a9b496159ebdcb","user":{"login":"redis","id":1529926,"avatar_url":"https://avatars.githubusercontent.com/u/1529926?v=3","gravatar_id":"","url":"https://api.github.com/users/redis","html_url":"https://github.com/redis","followers_url":"https://api.github.com/users/redis/followers","following_url":"https://api.github.com/users/redis/following{/other_user}","gists_url":"https://api.github.com/users/redis/gists{/gist_id}","starred_url":"https://api.github.com/users/redis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redis/subscriptions","organizations_url":"https://api.github.com/users/redis/orgs","repos_url":"https://api.github.com/users/redis/repos","events_url":"https://api.github.com/users/redis/events{/privacy}","received_events_url":"https://api.github.com/users/redis/received_events","type":"Organization","site_admin":false},"repo":{"id":673267,"name":"hiredis","full_name":"redis/hiredis","owner":{"login":"redis","id":1529926,"avatar_url":"https://avatars.githubusercontent.com/u/1529926?v=3","gravatar_id":"","url":"https://api.github.com/users/redis","html_url":"https://github.com/redis","followers_url":"https://api.github.com/users/redis/followers","following_url":"https://api.github.com/users/redis/following{/other_user}","gists_url":"https://api.github.com/users/redis/gists{/gist_id}","starred_url":"https://api.github.com/users/redis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/redis/subscriptions","organizations_url":"https://api.github.com/users/redis/orgs","repos_url":"https://api.github.com/users/redis/repos","events_url":"https://api.github.com/users/redis/events{/privacy}","received_events_url":"https://api.github.com/users/redis/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/redis/hiredis","description":"Minimalistic C client for Redis >= 1.2","fork":false,"url":"https://api.github.com/repos/redis/hiredis","forks_url":"https://api.github.com/repos/redis/hiredis/forks","keys_url":"https://api.github.com/repos/redis/hiredis/keys{/key_id}","collaborators_url":"https://api.github.com/repos/redis/hiredis/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/redis/hiredis/teams","hooks_url":"https://api.github.com/repos/redis/hiredis/hooks","issue_events_url":"https://api.github.com/repos/redis/hiredis/issues/events{/number}","events_url":"https://api.github.com/repos/redis/hiredis/events","assignees_url":"https://api.github.com/repos/redis/hiredis/assignees{/user}","branches_url":"https://api.github.com/repos/redis/hiredis/branches{/branch}","tags_url":"https://api.github.com/repos/redis/hiredis/tags","blobs_url":"https://api.github.com/repos/redis/hiredis/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/redis/hiredis/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/redis/hiredis/git/refs{/sha}","trees_url":"https://api.github.com/repos/redis/hiredis/git/trees{/sha}","statuses_url":"https://api.github.com/repos/redis/hiredis/statuses/{sha}","languages_url":"https://api.github.com/repos/redis/hiredis/languages","stargazers_url":"https://api.github.com/repos/redis/hiredis/stargazers","contributors_url":"https://api.github.com/repos/redis/hiredis/contributors","subscribers_url":"https://api.github.com/repos/redis/hiredis/subscribers","subscription_url":"https://api.github.com/repos/redis/hiredis/subscription","commits_url":"https://api.github.com/repos/redis/hiredis/commits{/sha}","git_commits_url":"https://api.github.com/repos/redis/hiredis/git/commits{/sha}","comments_url":"https://api.github.com/repos/redis/hiredis/comments{/number}","issue_comment_url":"https://api.github.com/repos/redis/hiredis/issues/comments{/number}","contents_url":"https://api.github.com/repos/redis/hiredis/contents/{+path}","compare_url":"https://api.github.com/repos/redis/hiredis/compare/{base}...{head}","merges_url":"https://api.github.com/repos/redis/hiredis/merges","archive_url":"https://api.github.com/repos/redis/hiredis/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/redis/hiredis/downloads","issues_url":"https://api.github.com/repos/redis/hiredis/issues{/number}","pulls_url":"https://api.github.com/repos/redis/hiredis/pulls{/number}","milestones_url":"https://api.github.com/repos/redis/hiredis/milestones{/number}","notifications_url":"https://api.github.com/repos/redis/hiredis/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/redis/hiredis/labels{/name}","releases_url":"https://api.github.com/repos/redis/hiredis/releases{/id}","deployments_url":"https://api.github.com/repos/redis/hiredis/deployments","created_at":"2010-05-18T15:10:01Z","updated_at":"2016-04-15T20:23:07Z","pushed_at":"2016-04-17T20:29:32Z","git_url":"git://github.com/redis/hiredis.git","ssh_url":"git@github.com:redis/hiredis.git","clone_url":"https://github.com/redis/hiredis.git","svn_url":"https://github.com/redis/hiredis","homepage":"","size":1799,"stargazers_count":1881,"watchers_count":1881,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":652,"mirror_url":null,"open_issues_count":49,"forks":652,"open_issues":49,"watchers":1881,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/redis/hiredis/pulls/409"},"html":{"href":"https://github.com/redis/hiredis/pull/409"},"issue":{"href":"https://api.github.com/repos/redis/hiredis/issues/409"},"comments":{"href":"https://api.github.com/repos/redis/hiredis/issues/409/comments"},"review_comments":{"href":"https://api.github.com/repos/redis/hiredis/pulls/409/comments"},"review_comment":{"href":"https://api.github.com/repos/redis/hiredis/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/redis/hiredis/pulls/409/commits"},"statuses":{"href":"https://api.github.com/repos/redis/hiredis/statuses/8a5fdf0c9eeefa7bdaac3af9ae21018ad9c2c23d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":3,"deletions":3,"changed_files":1}}