title: Switch in Swift - Case label in a switch should have at least one executable statement
body: <p>I have an <code>enum</code> type that extends <code>String</code> in Swift.</p>
  
  <p>When I try to use a <code>switch</code> I got an error:</p>
  
  <blockquote>
    <p>Case label in a switch should have at least one executable statement</p>
  </blockquote>
  
  <p>Here is my code:</p>
  
  <pre><code>enum UserInfosKey:String {
     case CameraMyPhotoStream = "CMPS"
      case CameraICloudActivated = "CICA"
      case CameraICloudShare = "CICS"
      case ProjectTodayExtension = "PTE"
      case ProjectShareExtension = "PSE"
      case NetworkConnection = "NC"
      case PhoneLanguage = "PL"
      case CameraPhotosCount = "CPC"
      case UserIdentifier = "UI"
      case VersionHistory = "VH"
      case Path = "Path"
  
  }
  
  class UserInfosController: NSObject {
      func update(key:UserInfosKey, value:String, context:UserDefaultsMainKeys) -&gt; String {
          switch key {
          case .CameraICloudActivated:
          case .CameraICloudShare:
          case .CameraMyPhotoStream:
          case .CameraPhotosCount:
          case .NetworkConnection:
          case .PhoneLanguage:
          case .UserIdentifier:
              return value
  
          default:
              return ""
          }
      }
  }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/orGup.png" alt="enter image description here"></p>
  
  <p>I'm pretty sure it's a simple mistake, anyone see it?</p>