mirror of
https://github.com/fluencelabs/redis
synced 2025-06-21 21:11:33 +00:00
Remove useless comment from enumConfigSet().
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user