diff options
| author | Yang Tse <yangsita@gmail.com> | 2009-06-16 00:06:30 +0000 | 
|---|---|---|
| committer | Yang Tse <yangsita@gmail.com> | 2009-06-16 00:06:30 +0000 | 
| commit | afe06d15639d9add4c62880a3020c3707fdff9f9 (patch) | |
| tree | d939faafc396350afe60c6dc419d671936c6f840 | |
| parent | c40365e9b69c33edf9c8cc8fc624d43ad5772017 (diff) | |
fix compiler warning
| -rw-r--r-- | src/main.c | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/main.c b/src/main.c index 91827c52f..858910828 100644 --- a/src/main.c +++ b/src/main.c @@ -3241,6 +3241,9 @@ static void set_nonblocking(struct Configurable *config, int fd)      flags = fcntl(fd, F_SETFL, flags | O_NONBLOCK);    else      warnf(config, "fcntl failed on fd=%d: %s\n", fd, strerror(errno)); +#else +  (void) config; +  (void) fd;  #endif  } | 
