{"action":"created","issue":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/256","labels_url":"https://api.github.com/repos/SirCmpwn/sway/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/SirCmpwn/sway/issues/256/comments","events_url":"https://api.github.com/repos/SirCmpwn/sway/issues/256/events","html_url":"https://github.com/SirCmpwn/sway/pull/256","id":118828677,"number":256,"title":"swaybg: comment unused argument","user":{"login":"christophgysin","id":527924,"avatar_url":"https://avatars.githubusercontent.com/u/527924?v=3","gravatar_id":"","url":"https://api.github.com/users/christophgysin","html_url":"https://github.com/christophgysin","followers_url":"https://api.github.com/users/christophgysin/followers","following_url":"https://api.github.com/users/christophgysin/following{/other_user}","gists_url":"https://api.github.com/users/christophgysin/gists{/gist_id}","starred_url":"https://api.github.com/users/christophgysin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophgysin/subscriptions","organizations_url":"https://api.github.com/users/christophgysin/orgs","repos_url":"https://api.github.com/users/christophgysin/repos","events_url":"https://api.github.com/users/christophgysin/events{/privacy}","received_events_url":"https://api.github.com/users/christophgysin/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-25T12:42:41Z","updated_at":"2015-11-25T14:03:55Z","closed_at":"2015-11-25T12:43:48Z","pull_request":{"url":"https://api.github.com/repos/SirCmpwn/sway/pulls/256","html_url":"https://github.com/SirCmpwn/sway/pull/256","diff_url":"https://github.com/SirCmpwn/sway/pull/256.diff","patch_url":"https://github.com/SirCmpwn/sway/pull/256.patch"},"body":"This fixes a compiler warning:\r\n\r\n../swaybg/main.c: In function ‘main’:\r\n../swaybg/main.c:52:8: warning: unused variable ‘scaling_mode’ [-Wunused-variable]\r\n  char *scaling_mode = argv[3];\r\n        ^"},"comment":{"url":"https://api.github.com/repos/SirCmpwn/sway/issues/comments/159615717","html_url":"https://github.com/SirCmpwn/sway/pull/256#issuecomment-159615717","issue_url":"https://api.github.com/repos/SirCmpwn/sway/issues/256","id":159615717,"user":{"login":"christophgysin","id":527924,"avatar_url":"https://avatars.githubusercontent.com/u/527924?v=3","gravatar_id":"","url":"https://api.github.com/users/christophgysin","html_url":"https://github.com/christophgysin","followers_url":"https://api.github.com/users/christophgysin/followers","following_url":"https://api.github.com/users/christophgysin/following{/other_user}","gists_url":"https://api.github.com/users/christophgysin/gists{/gist_id}","starred_url":"https://api.github.com/users/christophgysin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christophgysin/subscriptions","organizations_url":"https://api.github.com/users/christophgysin/orgs","repos_url":"https://api.github.com/users/christophgysin/repos","events_url":"https://api.github.com/users/christophgysin/events{/privacy}","received_events_url":"https://api.github.com/users/christophgysin/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T14:03:55Z","updated_at":"2015-11-25T14:03:55Z","body":"I think it's good practice to fix warnings. It also encourages people not to add new ones.\r\n\r\nThere are other ways to fix this, like disabling the specific warning, or explicitly casting to void. Is there any other way to fix this that you could consider applying?"}}