mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
utils: Fix uninitialized variable compiler warnings
This commit is contained in:
parent
43cdbc17e6
commit
b17537d14d
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue