{"action":"created","issue":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/859","labels_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/859/labels{/name}","comments_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/859/comments","events_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/859/events","html_url":"https://github.com/PCSX2/pcsx2/issues/859","id":109057151,"number":859,"title":"Coverity analyze","user":{"login":"gregory38","id":1569559,"avatar_url":"https://avatars.githubusercontent.com/u/1569559?v=3","gravatar_id":"","url":"https://api.github.com/users/gregory38","html_url":"https://github.com/gregory38","followers_url":"https://api.github.com/users/gregory38/followers","following_url":"https://api.github.com/users/gregory38/following{/other_user}","gists_url":"https://api.github.com/users/gregory38/gists{/gist_id}","starred_url":"https://api.github.com/users/gregory38/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregory38/subscriptions","organizations_url":"https://api.github.com/users/gregory38/orgs","repos_url":"https://api.github.com/users/gregory38/repos","events_url":"https://api.github.com/users/gregory38/events{/privacy}","received_events_url":"https://api.github.com/users/gregory38/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Portability","name":"Portability","color":"0052cc"},{"url":"https://api.github.com/repos/PCSX2/pcsx2/labels/Question","name":"Question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-09-30T10:20:22Z","updated_at":"2015-10-17T16:19:58Z","closed_at":null,"body":"@ssakash \r\nI assign you a couple of coverity issue. Feel free to analyze them and propose some good solutions to improve the situation.\r\n\r\nEdit: I opened the issue so you can ask me any question if you need."},"comment":{"url":"https://api.github.com/repos/PCSX2/pcsx2/issues/comments/148929194","html_url":"https://github.com/PCSX2/pcsx2/issues/859#issuecomment-148929194","issue_url":"https://api.github.com/repos/PCSX2/pcsx2/issues/859","id":148929194,"user":{"login":"ssakash","id":8477408,"avatar_url":"https://avatars.githubusercontent.com/u/8477408?v=3","gravatar_id":"","url":"https://api.github.com/users/ssakash","html_url":"https://github.com/ssakash","followers_url":"https://api.github.com/users/ssakash/followers","following_url":"https://api.github.com/users/ssakash/following{/other_user}","gists_url":"https://api.github.com/users/ssakash/gists{/gist_id}","starred_url":"https://api.github.com/users/ssakash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ssakash/subscriptions","organizations_url":"https://api.github.com/users/ssakash/orgs","repos_url":"https://api.github.com/users/ssakash/repos","events_url":"https://api.github.com/users/ssakash/events{/privacy}","received_events_url":"https://api.github.com/users/ssakash/received_events","type":"User","site_admin":false},"created_at":"2015-10-17T16:19:58Z","updated_at":"2015-10-17T16:19:58Z","body":" which one of those possibilities would be a good solution ? I'm not sure :p \r\n\r\n``GSVector2i size = rt && ds != NULL ? rt->GetSize() : ds ? ds->GetSize() : GLState::viewport;``\r\n\r\n(or)\r\n\r\n``GSVector2i size = rt && ds != NULL ? rt->GetSize() : ds ? ds->GetSize() : 0;``\r\n\r\n"}}