{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/7799","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/7799/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/7799/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/7799/events","html_url":"https://github.com/xbmc/xbmc/pull/7799","id":100760828,"number":7799,"title":"[coverity] Fix #1126020","user":{"login":"tobbi","id":583169,"avatar_url":"https://avatars.githubusercontent.com/u/583169?v=3","gravatar_id":"","url":"https://api.github.com/users/tobbi","html_url":"https://github.com/tobbi","followers_url":"https://api.github.com/users/tobbi/followers","following_url":"https://api.github.com/users/tobbi/following{/other_user}","gists_url":"https://api.github.com/users/tobbi/gists{/gist_id}","starred_url":"https://api.github.com/users/tobbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobbi/subscriptions","organizations_url":"https://api.github.com/users/tobbi/orgs","repos_url":"https://api.github.com/users/tobbi/repos","events_url":"https://api.github.com/users/tobbi/events{/privacy}","received_events_url":"https://api.github.com/users/tobbi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-13T12:46:56Z","updated_at":"2015-08-13T21:15:38Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/xbmc/xbmc/pulls/7799","html_url":"https://github.com/xbmc/xbmc/pull/7799","diff_url":"https://github.com/xbmc/xbmc/pull/7799.diff","patch_url":"https://github.com/xbmc/xbmc/pull/7799.patch"},"body":"This fixes coverity #1126020.\r\n\r\nI boldly removed the dead code that wasn't doing anything anyway (the variable deint was set to -1 and doesn't change later in the function so the if statement never executes).\r\n\r\nThe code that introduced this was authored in April 2012, and such I doubt that anyone is still working on this part. See https://github.com/xbmc/xbmc/blame/master/xbmc/cores/dvdplayer/DVDCodecs/Video/VDPAU.cpp#L1969"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/130846854","html_url":"https://github.com/xbmc/xbmc/pull/7799#issuecomment-130846854","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/7799","id":130846854,"user":{"login":"tobbi","id":583169,"avatar_url":"https://avatars.githubusercontent.com/u/583169?v=3","gravatar_id":"","url":"https://api.github.com/users/tobbi","html_url":"https://github.com/tobbi","followers_url":"https://api.github.com/users/tobbi/followers","following_url":"https://api.github.com/users/tobbi/following{/other_user}","gists_url":"https://api.github.com/users/tobbi/gists{/gist_id}","starred_url":"https://api.github.com/users/tobbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tobbi/subscriptions","organizations_url":"https://api.github.com/users/tobbi/orgs","repos_url":"https://api.github.com/users/tobbi/repos","events_url":"https://api.github.com/users/tobbi/events{/privacy}","received_events_url":"https://api.github.com/users/tobbi/received_events","type":"User","site_admin":false},"created_at":"2015-08-13T21:15:38Z","updated_at":"2015-08-13T21:15:38Z","body":"Can this be merged and @FernetMenta can add a proper runtime detection whenever he feels like it?"}}