summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2019-11-09 13:42:24 +0100
committerBastien Nocera <hadess@hadess.net>2019-11-09 14:16:54 +0100
commita01615f6eb3a60da6f7845b6a0f0795f4bf54755 (patch)
tree889c60e5e5dd03c5b4f197f35dd61454639eab72
parent869c81b98cd3d302b041e52ebeca080fd9afee09 (diff)
downloadtotem-pl-parser-a01615f6eb3a60da6f7845b6a0f0795f4bf54755.tar.gz
tests: Fix compile-time warning
This function is unused when quvi isn't available, so hide it behind an ifdef like the caller. Fixes: c67489d685cd44c76188d1c58935af1bea080f51
-rw-r--r--plparse/tests/parser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plparse/tests/parser.c b/plparse/tests/parser.c
index f880faa..4488a55 100644
--- a/plparse/tests/parser.c
+++ b/plparse/tests/parser.c
@@ -524,6 +524,7 @@ test_no_url_podcast (void)
#endif
}
+#ifdef HAVE_QUVI
static void
test_youtube_starttime (void)
{
@@ -544,6 +545,7 @@ test_youtube_starttime (void)
g_assert_cmpstr (parser_test_get_entry_field (uri, TOTEM_PL_PARSER_FIELD_STARTTIME), ==, "150");
#endif
}
+#endif /* HAVE_QUVI */
static void
test_itms_parsing (void)