mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
Remove useless comment from enumConfigSet().
This commit is contained in:
parent
ec73881a4d
commit
43f39f2e37
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user