Bug 1073003 - Fix -Wswitch warnings. r=echen
authorBotond Ballo <botond@mozilla.com>
Tue, 23 Dec 2014 03:11:17 -0500
changeset 235581 de91475479040058837252e0479190055f4f50fa
parent 235580 a7972d1adc997926e4c836df537dcec6a06b07d0
child 235582 b022fa348b73871d462fc6779ca23a2af648a03b
push id366
push usercmanchester@mozilla.com
push dateThu, 08 Jan 2015 16:40:24 +0000
reviewersechen
bugs1073003
milestone37.0a1
Bug 1073003 - Fix -Wswitch warnings. r=echen
dom/icc/Icc.cpp
--- a/dom/icc/Icc.cpp
+++ b/dom/icc/Icc.cpp
@@ -29,19 +29,19 @@ IsPukCardLockType(IccLockType aLockType)
     case IccLockType::Nck1Puk:
     case IccLockType::Nck2Puk:
     case IccLockType::HnckPuk:
     case IccLockType::CckPuk:
     case IccLockType::SpckPuk:
     case IccLockType::RcckPuk:
     case IccLockType::RspckPuk:
       return true;
+    default:
+      return false;
   }
-
-  return false;
 }
 
 } // anonymous namespace
 
 NS_IMPL_CYCLE_COLLECTION_INHERITED(Icc, DOMEventTargetHelper, mIccInfo)
 
 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED(Icc)
 NS_INTERFACE_MAP_END_INHERITING(DOMEventTargetHelper)