File mozilla-cubeb-noreturn.patch of Package MozillaFirefox.14462

# HG changeset patch
# User Wolfgang Rosenauer <wr@rosenauer.org>
# Parent  a9d61a2614b01b1e0ca37d00a6b11b2571868f86

diff --git a/media/libcubeb/src/cubeb_utils.cpp b/media/libcubeb/src/cubeb_utils.cpp
--- a/media/libcubeb/src/cubeb_utils.cpp
+++ b/media/libcubeb/src/cubeb_utils.cpp
@@ -15,9 +15,10 @@ size_t cubeb_sample_size(cubeb_sample_fo
       return sizeof(int16_t);
     case CUBEB_SAMPLE_FLOAT32LE:
     case CUBEB_SAMPLE_FLOAT32BE:
       return sizeof(float);
     default:
       // should never happen as all cases are handled above.
       assert(false);
   }
+  return 0;
 }
openSUSE Build Service is sponsored by