{"action":"created","issue":{"url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/44","repository_url":"https://api.github.com/repos/albertodemichelis/squirrel","labels_url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/44/comments","events_url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/44/events","html_url":"https://github.com/albertodemichelis/squirrel/pull/44","id":153671763,"number":44,"title":"Add missing breaks to some functions","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":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-08T18:57:42Z","updated_at":"2016-06-11T22:50:43Z","closed_at":"2016-05-08T19:19:12Z","pull_request":{"url":"https://api.github.com/repos/albertodemichelis/squirrel/pulls/44","html_url":"https://github.com/albertodemichelis/squirrel/pull/44","diff_url":"https://github.com/albertodemichelis/squirrel/pull/44.diff","patch_url":"https://github.com/albertodemichelis/squirrel/pull/44.patch"},"body":"Reported by Coverity."},"comment":{"url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/comments/225398805","html_url":"https://github.com/albertodemichelis/squirrel/pull/44#issuecomment-225398805","issue_url":"https://api.github.com/repos/albertodemichelis/squirrel/issues/44","id":225398805,"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":"2016-06-11T22:50:43Z","updated_at":"2016-06-11T22:50:43Z","body":"I know this was closed a month ago, but: Falling through case statements are pretty bad code style. Can't you move the specific code to a function which then gets called from the specific case's?"}}
{"actor":{"display_login":"tobbi"}}