utils: Fix uninitialized variable compiler warnings

This commit is contained in:
Sebastian Dröge 2011-04-08 09:20:28 +02:00
parent 43cdbc17e6
commit b17537d14d

View file

@ -880,6 +880,9 @@ _gmp_test_scale (gsl_rng * rng)
bygst = gst_util_uint64_scale (val, a, b); bygst = gst_util_uint64_scale (val, a, b);
func = "gst_util_uint64_scale"; func = "gst_util_uint64_scale";
break; break;
default:
g_assert_not_reached ();
break;
} }
fail_unless (bygst == bygmp, fail_unless (bygst == bygmp,
"error: %s(): %" G_GUINT64_FORMAT " * %" G_GUINT64_FORMAT " / %" "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); bygst = gst_util_uint64_scale_int (val, a, b);
func = "gst_util_uint64_scale_int"; func = "gst_util_uint64_scale_int";
break; break;
default:
g_assert_not_reached ();
break;
} }
fail_unless (bygst == bygmp, fail_unless (bygst == bygmp,
"error: %s(): %" G_GUINT64_FORMAT " * %d / %d = %" G_GUINT64_FORMAT "error: %s(): %" G_GUINT64_FORMAT " * %d / %d = %" G_GUINT64_FORMAT