mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-16 13:04:18 +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);
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue