build: Ignore branches in g_clear_*() functions under lcov
It’s not useful for lcov to demand branch coverage of all branches
within g_clear_*()
functions (such as g_clear_pointer()
). By
choosing to use g_clear_*()
, the programmer explicitly doesn’t care
about whether the pointer is NULL
. The tests shouldn’t have to either.
Signed-off-by: Philip Withnall pwithnall@gnome.org