From b17537d14d0652142cd4cae65fbfdb09b050bca8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 8 Apr 2011 09:20:28 +0200 Subject: [PATCH] utils: Fix uninitialized variable compiler warnings --- tests/check/gst/gstutils.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/check/gst/gstutils.c b/tests/check/gst/gstutils.c index 466c70a..22c3091 100644 --- a/tests/check/gst/gstutils.c +++ b/tests/check/gst/gstutils.c @@ -880,6 +880,9 @@ _gmp_test_scale (gsl_rng * rng) bygst = gst_util_uint64_scale (val, a, b); func = "gst_util_uint64_scale"; break; + default: + g_assert_not_reached (); + break; } fail_unless (bygst == bygmp, "error: %s(): %" G_GUINT64_FORMAT " * %" G_GUINT64_FORMAT " / %" @@ -911,6 +914,9 @@ _gmp_test_scale_int (gsl_rng * rng) bygst = gst_util_uint64_scale_int (val, a, b); func = "gst_util_uint64_scale_int"; break; + default: + g_assert_not_reached (); + break; } fail_unless (bygst == bygmp, "error: %s(): %" G_GUINT64_FORMAT " * %d / %d = %" G_GUINT64_FORMAT -- 2.7.4