2.5: warning fixes
[blender-staging.git] / intern / audaspace / intern / AUD_ConverterReader.cpp
index 2ff4925644c0e86b73bd1b491f84fb636964a882..da25a2b74601ef02ee208eb84c23686419465607 100644 (file)
@@ -60,6 +60,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                case AUD_FORMAT_FLOAT64:
                        m_convert = AUD_convert_u8_double;
                        break;
+               default:
+                       break;
                }
                break;
        case AUD_FORMAT_S16:
@@ -86,6 +88,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                case AUD_FORMAT_FLOAT64:
                        m_convert = AUD_convert_s16_double;
                        break;
+               default:
+                       break;
                }
                break;
        case AUD_FORMAT_S24:
@@ -110,6 +114,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                        case AUD_FORMAT_FLOAT64:
                                m_convert = AUD_convert_double_s24_be;
                                break;
+                       default:
+                               break;
                        }
                else
                        switch(specs.format)
@@ -132,6 +138,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                        case AUD_FORMAT_FLOAT64:
                                m_convert = AUD_convert_double_s24_le;
                                break;
+                       default:
+                               break;
                        }
                break;
        case AUD_FORMAT_S32:
@@ -158,6 +166,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                case AUD_FORMAT_FLOAT64:
                        m_convert = AUD_convert_s32_double;
                        break;
+               default:
+                       break;
                }
                break;
        case AUD_FORMAT_FLOAT32:
@@ -184,6 +194,8 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                case AUD_FORMAT_FLOAT64:
                        m_convert = AUD_convert_float_double;
                        break;
+               default:
+                       break;
                }
                break;
        case AUD_FORMAT_FLOAT64:
@@ -210,8 +222,12 @@ AUD_ConverterReader::AUD_ConverterReader(AUD_IReader* reader, AUD_Specs specs) :
                case AUD_FORMAT_FLOAT64:
                        m_convert = AUD_convert_copy<double>;
                        break;
+               default:
+                       break;
                }
                break;
+       default:
+               break;
        }
 
        m_specs.format = specs.format;