[totem-pl-parser/wip/hadess/add-ignored-extensions: 9/13] tests: Fix compile-time warning
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem-pl-parser/wip/hadess/add-ignored-extensions: 9/13] tests: Fix compile-time warning
- Date: Sat, 9 Nov 2019 13:17:19 +0000 (UTC)
commit a01615f6eb3a60da6f7845b6a0f0795f4bf54755
Author: Bastien Nocera <hadess hadess net>
Date: Sat Nov 9 13:42:24 2019 +0100
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
plparse/tests/parser.c | 2 ++
1 file changed, 2 insertions(+)
---
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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]