From 85f142a8e2dcbff540de660a3c53f1f1a3220031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Tue, 14 Aug 2018 12:42:02 +0200 Subject: [PATCH] closedcaption: comment out unused function When compiling with clang-6 this error raises: raw_decoder.c:411:1: error: unused function 'cpr1204_crc' [-Werror,-Wunused-function] This patch only comments it out. https://bugzilla.gnome.org/show_bug.cgi?id=796957 --- ext/closedcaption/raw_decoder.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/closedcaption/raw_decoder.c b/ext/closedcaption/raw_decoder.c index 352384296d..9e7415a552 100644 --- a/ext/closedcaption/raw_decoder.c +++ b/ext/closedcaption/raw_decoder.c @@ -407,6 +407,7 @@ _vbi3_raw_decoder_dump (const vbi3_raw_decoder * rd, FILE * fp) } } +#if 0 /* @UNUSED */ _vbi_inline int cpr1204_crc (const vbi_sliced * sliced) { @@ -426,6 +427,7 @@ cpr1204_crc (const vbi_sliced * sliced) return crc; } +#endif static vbi_bool slice (vbi3_raw_decoder * rd,