Skip to content

Commit

Permalink
Return in case statement instead of falling through
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Sep 26, 2012
1 parent cac0220 commit e2aab77
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ public boolean onOptionsItemSelected(final MenuItem item) {
return true;
case id.m_share:
shareCommit();
return true;
default:
return super.onOptionsItemSelected(item);
}
Expand Down

0 comments on commit e2aab77

Please sign in to comment.