diff options
author | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-08-14 12:42:02 +0200 |
---|---|---|
committer | Víctor Manuel Jáquez Leal <vjaquez@igalia.com> | 2018-08-14 13:31:49 +0200 |
commit | 85f142a8e2dcbff540de660a3c53f1f1a3220031 (patch) | |
tree | fefca23bbc20a9b2f5a78b4623e1d141eba5c01c | |
parent | 808b404e88526b8cf4cba6a32718e649f1390192 (diff) |
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
-rw-r--r-- | ext/closedcaption/raw_decoder.c | 2 |
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, |