diff options
author | ls-2018 <1214972346@qq.com> | 2022-06-07 19:47:09 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-07 14:47:09 +0300 |
commit | b8665b879b760d13d103a00667a6277e372ea18b (patch) | |
tree | 3beb305cd47866ddc6ba7f2d1b7236336423d1f8 | |
parent | 1067cfb34bb49cd69e3d73cad1818b784c6e1014 (diff) | |
download | redis-b8665b879b760d13d103a00667a6277e372ea18b.tar.gz |
fix unused argument warning in ae_select.c (#10824)
-rw-r--r-- | src/ae_select.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ae_select.c b/src/ae_select.c index 3cc746ec3..f8ef95966 100644 --- a/src/ae_select.c +++ b/src/ae_select.c @@ -50,6 +50,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) { } static int aeApiResize(aeEventLoop *eventLoop, int setsize) { + AE_NOTUSED(eventLoop); /* Just ensure we have enough room in the fd_set type. */ if (setsize >= FD_SETSIZE) return -1; return 0; |