avoid a compiler warning

This commit is contained in:
Matthew Flatt 2018-06-27 16:08:14 -06:00
parent 9e6f450005
commit caf1b2e275

View File

@ -4572,8 +4572,8 @@ static Scheme_Object *sha_bytes(const char *name, int argc, Scheme_Object **argv
char buf[256];
if (argc > 1) {
intptr_t start, end;
start = scheme_extract_index(name, 1, argc, argv, -1, 0);
intptr_t end;
(void)scheme_extract_index(name, 1, argc, argv, -1, 0);
if ((argc > 2) && !SCHEME_FALSEP(argv[2]))
end = scheme_extract_index(name, 2, argc, argv, -1, 1);
else