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
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-08-14 12:42:02 +02:00
parent 808b404e88
commit 85f142a8e2

View file

@ -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,