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
43f39f2e
Commit
43f39f2e
authored
Feb 27, 2020
by
antirez
Browse files
Remove useless comment from enumConfigSet().
parent
ec73881a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/config.c
View file @
43f39f2e
...
...
@@ -1674,7 +1674,6 @@ static int enumConfigSet(typeData data, sds value, int update, char **err) {
enumerr
[
sdslen
(
enumerr
)
-
2
]
=
'\0'
;
strncpy
(
loadbuf
,
enumerr
,
LOADBUF_SIZE
);
/* strncpy does not if null terminate if source string length is >= destination buffer. */
loadbuf
[
LOADBUF_SIZE
-
1
]
=
'\0'
;
sdsfree
(
enumerr
);
...
...
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