summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-08-14 12:42:02 +0200
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2018-08-14 13:31:49 +0200
commit85f142a8e2dcbff540de660a3c53f1f1a3220031 (patch)
treefefca23bbc20a9b2f5a78b4623e1d141eba5c01c /ext
parent808b404e88526b8cf4cba6a32718e649f1390192 (diff)
downloadgstreamer-plugins-bad-85f142a8e2dcbff540de660a3c53f1f1a3220031.tar.gz
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
Diffstat (limited to 'ext')
-rw-r--r--ext/closedcaption/raw_decoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/closedcaption/raw_decoder.c b/ext/closedcaption/raw_decoder.c
index 352384296..9e7415a55 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,