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
79c506eb
Unverified
Commit
79c506eb
authored
Aug 11, 2020
by
Madelyn Olson
Committed by
GitHub
Aug 12, 2020
Browse files
Fixed timer warning (#5953)
parent
f2db379f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/modules/hellotimer.c
View file @
79c506eb
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
/* Timer callback. */
/* Timer callback. */
void
timerHandler
(
RedisModuleCtx
*
ctx
,
void
*
data
)
{
void
timerHandler
(
RedisModuleCtx
*
ctx
,
void
*
data
)
{
REDISMODULE_NOT_USED
(
ctx
);
REDISMODULE_NOT_USED
(
ctx
);
printf
(
"Fired %s!
\n
"
,
data
);
printf
(
"Fired %s!
\n
"
,
(
char
*
)
data
);
RedisModule_Free
(
data
);
RedisModule_Free
(
data
);
}
}
...
...
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