1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38: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:
Simon Tatham 2020-01-10 19:24:59 +00:00
parent c6a9bf8601
commit 50fce01958

View File

@ -226,7 +226,7 @@ static ptrlen BinarySource_get_chars_internal(
bool present = NULL != strchr(set, *(const char *)consume(0));
if (present != include)
break;
consume(1);
(void) consume(1);
}
const char *end = here;
return make_ptrlen(start, end - start);