Skip to content

Commit

Permalink
avoid a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mflatt committed Jun 27, 2018
1 parent 9e6f450 commit caf1b2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions racket/src/racket/src/portfun.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit caf1b2e

Please sign in to comment.