diff options
author | Binbin <binloveplay1314@qq.com> | 2021-06-22 13:53:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-21 22:53:28 -0700 |
commit | bf92000e2dc33d484c73eaaa0af5cc47acf81b82 (patch) | |
tree | e682231fb75ccfb7c0c2494d9c1379cdc79bea8b /src/t_hash.c | |
parent | 81d5f05b6e25f32476a1de3f264d45d386310ef0 (diff) | |
download | redis-bf92000e2dc33d484c73eaaa0af5cc47acf81b82.tar.gz |
Remove extra semicolon (#9117)
Remove extra semicolon.
Diffstat (limited to 'src/t_hash.c')
-rw-r--r-- | src/t_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/t_hash.c b/src/t_hash.c index 4ea0a5c87..b9faebe94 100644 --- a/src/t_hash.c +++ b/src/t_hash.c @@ -556,14 +556,14 @@ static int _hashZiplistEntryValidation(unsigned char *p, void *userdata) { dict *fields; } *data = userdata; - /* Odd records are field names, add to dict and check that's not a dup */ + /* Even records are field names, add to dict and check that's not a dup */ if (((data->count) & 1) == 0) { unsigned char *str; unsigned int slen; long long vll; if (!ziplistGet(p, &str, &slen, &vll)) return 0; - sds field = str? sdsnewlen(str, slen): sdsfromlonglong(vll);; + sds field = str? sdsnewlen(str, slen): sdsfromlonglong(vll); if (dictAdd(data->fields, field, NULL) != DICT_OK) { /* Duplicate, return an error */ sdsfree(field); |