Skip to content

Commit

Permalink
Fix warnings -Wunused-variable
Browse files Browse the repository at this point in the history
  • Loading branch information
ligurio committed Jan 24, 2022
1 parent ad415e0 commit b669d4e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unreliablefs_errno_linux.h
Original file line number Diff line number Diff line change
Expand Up @@ -383,14 +383,17 @@ static const int errno_removexattr[] = {
EOVERFLOW,
};

#ifdef HAVE_FLOCK
static int errno_flock[] = {
EBADF,
EINTR,
EINVAL,
ENOLCK,
EWOULDBLOCK,
};
#endif /* HAVE_FLOCK */

#ifdef HAVE_FALLOCATE
static int errno_fallocate[] = {
EBADF,
EFBIG,
Expand All @@ -405,6 +408,7 @@ static int errno_fallocate[] = {
ESPIPE,
ETXTBSY,
};
#endif /* HAVE_FALLOCATE */

static int errno_ioctl[] = {
EBADF,
Expand Down

0 comments on commit b669d4e

Please sign in to comment.