Skip to content

Commit

Permalink
void fd when unused
Browse files Browse the repository at this point in the history
  • Loading branch information
jozkee committed Sep 24, 2021
1 parent 8adba3a commit f85919f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libraries/Native/Unix/System.Native/pal_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -1027,6 +1027,7 @@ int32_t SystemNative_FAllocate(intptr_t fd, int64_t offset, int64_t length)

while ((result = fcntl(fileDescriptor, F_PREALLOCATE, &fstore)) == -1 && errno == EINTR);
#else
(void)fd; // unused
(void)offset; // unused
(void)length; // unused
result = -1;
Expand Down

0 comments on commit f85919f

Please sign in to comment.