mirror of
https://github.com/rofafor/vdr-plugin-iptv.git
synced 2023-10-10 13:37:03 +02:00
Silence a compiling warning.
This commit is contained in:
parent
876d0d954e
commit
f7369c9578
2
setup.c
2
setup.c
@ -192,7 +192,7 @@ void cIptvPluginSetup::StoreFilters(const char *nameP, int *valuesP)
|
|||||||
char *q = buffer;
|
char *q = buffer;
|
||||||
for (int i = 0; i < SECTION_FILTER_TABLE_SIZE; ++i) {
|
for (int i = 0; i < SECTION_FILTER_TABLE_SIZE; ++i) {
|
||||||
char s[3];
|
char s[3];
|
||||||
if (valuesP[i] < 0)
|
if ((valuesP[i] < 0) || (valuesP[i] >= SECTION_FILTER_TABLE_SIZE))
|
||||||
break;
|
break;
|
||||||
if (q > buffer)
|
if (q > buffer)
|
||||||
*q++ = ' ';
|
*q++ = ' ';
|
||||||
|
Loading…
Reference in New Issue
Block a user