Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
void fd when unused
  • Loading branch information
jozkee committed Sep 24, 2021
commit f85919f2d242e53bff2fffc4e6de54b4461c1e4c
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