Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b8665b87
Unverified
Commit
b8665b87
authored
Jun 07, 2022
by
ls-2018
Committed by
GitHub
Jun 07, 2022
Browse files
fix unused argument warning in ae_select.c (#10824)
parent
1067cfb3
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ae_select.c
View file @
b8665b87
...
@@ -50,6 +50,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
...
@@ -50,6 +50,7 @@ static int aeApiCreate(aeEventLoop *eventLoop) {
}
}
static
int
aeApiResize
(
aeEventLoop
*
eventLoop
,
int
setsize
)
{
static
int
aeApiResize
(
aeEventLoop
*
eventLoop
,
int
setsize
)
{
AE_NOTUSED
(
eventLoop
);
/* Just ensure we have enough room in the fd_set type. */
/* Just ensure we have enough room in the fd_set type. */
if
(
setsize
>=
FD_SETSIZE
)
return
-
1
;
if
(
setsize
>=
FD_SETSIZE
)
return
-
1
;
return
0
;
return
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment