mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-10 01:48:00 +00:00
Fix a gcc compile failure due to -Werror.
gcc doesn't like me not using the return value of the consume() macro.
This commit is contained in:
parent
c6a9bf8601
commit
50fce01958
@ -226,7 +226,7 @@ static ptrlen BinarySource_get_chars_internal(
|
|||||||
bool present = NULL != strchr(set, *(const char *)consume(0));
|
bool present = NULL != strchr(set, *(const char *)consume(0));
|
||||||
if (present != include)
|
if (present != include)
|
||||||
break;
|
break;
|
||||||
consume(1);
|
(void) consume(1);
|
||||||
}
|
}
|
||||||
const char *end = here;
|
const char *end = here;
|
||||||
return make_ptrlen(start, end - start);
|
return make_ptrlen(start, end - start);
|
||||||
|
Loading…
Reference in New Issue
Block a user