tests: fix compiler warnings in gstvalue tests
authorTim-Philipp Müller <tim@centricular.com>
Thu, 19 Jun 2014 11:10:23 +0000 (12:10 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 21 Jun 2014 00:10:22 +0000 (01:10 +0100)
commit4043fc3a4469c48d0eef3b64d77d7e99534e9a92
tree8f644ef4601240c14e4e65d08986d4c416a9ae60
parent89a5b893881fe7eed2a536ec99a6f5cdeb984ac9
tests: fix compiler warnings in gstvalue tests

Calling GST_VALUE_HOLDS_*(&v) now results in a compiler
warning about value!=NULL always being false, so check
type directly in those cases.
tests/check/gst/gstvalue.c