Index: media/base/sample_format.cc |
diff --git a/media/base/sample_format.cc b/media/base/sample_format.cc |
index a4791cd6861ef5dbb86f0edfe0fa7ce2f0459383..cf8f20f5632f2c8d19531c35433f3968c46f5261 100644 |
--- a/media/base/sample_format.cc |
+++ b/media/base/sample_format.cc |
@@ -21,8 +21,6 @@ int SampleFormatToBytesPerChannel(SampleFormat sample_format) { |
case kSampleFormatF32: |
case kSampleFormatPlanarF32: |
return 4; |
- case kSampleFormatMax: |
- break; |
} |
NOTREACHED() << "Invalid sample format provided: " << sample_format; |
@@ -45,8 +43,6 @@ const char* SampleFormatToString(SampleFormat sample_format) { |
return "Signed 16-bit planar"; |
case kSampleFormatPlanarF32: |
return "Float 32-bit planar"; |
- case kSampleFormatMax: |
- break; |
} |
NOTREACHED() << "Invalid sample format provided: " << sample_format; |
return ""; |