summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorls-2018 <1214972346@qq.com>2022-06-07 19:47:09 +0800
committerGitHub <noreply@github.com>2022-06-07 14:47:09 +0300
commitb8665b879b760d13d103a00667a6277e372ea18b (patch)
tree3beb305cd47866ddc6ba7f2d1b7236336423d1f8
parent1067cfb34bb49cd69e3d73cad1818b784c6e1014 (diff)
downloadredis-b8665b879b760d13d103a00667a6277e372ea18b.tar.gz
fix unused argument warning in ae_select.c (#10824)
-rw-r--r--src/ae_select.c1
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;