[drupal-devel] [task] quickie: The new default: break; case in updates.inc is unnecessary

webchick drupal-devel at drupal.org
Tue Sep 20 18:31:39 UTC 2005


Issue status update for 
http://drupal.org/node/31760
Post a follow up: 
http://drupal.org/project/comments/add/31760

 Project:      Drupal
 Version:      cvs
 Component:    database system
 Category:     tasks
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  webchick
 Updated by:   webchick
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/updates.inc_5.patch (693 bytes)

This is a patch that just removes the:



default:
  break;

case from both the documentation at the top and the most recent commit.
Since there is no code to be executed on an "else" case, this code is
unnecessary.




webchick




More information about the drupal-devel mailing list