check: testclock: don't put code with side-effects in g_assert()
authorTim-Philipp Müller <tim@centricular.net>
Thu, 19 Sep 2013 15:43:18 +0000 (16:43 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 19 Sep 2013 15:43:18 +0000 (16:43 +0100)
commitcc4ba028ff8c80110094017ff8159b6b9f5e7440
tree67a0889ebd584db3a842ef00079555f185470e38
parentc4539db3c11ec82a9a613563903dc8c7fa60f462
check: testclock: don't put code with side-effects in g_assert()

Fixes unit test failures when -DG_DISABLE_ASSERT is used.

https://bugzilla.gnome.org/show_bug.cgi?id=706551
libs/gst/check/gsttestclock.c