diff --git a/src/modules/lua/function_lua.c b/src/modules/lua/function_lua.c index 95283644a45..95872ec18df 100644 --- a/src/modules/lua/function_lua.c +++ b/src/modules/lua/function_lua.c @@ -112,7 +112,7 @@ static void freeCompiledFunc(lua_State *lua, /* * Compile a given script code by generating a set of compiled functions. These - * functions are also saved into the the registry of the Lua environment. + * functions are also saved into the registry of the Lua environment. * * Returns an array of compiled functions. The `compileFunction` struct stores a * Lua ref that allows to later retrieve the function from the registry. diff --git a/src/networking.c b/src/networking.c index 28443270428..9d64f99c8c9 100644 --- a/src/networking.c +++ b/src/networking.c @@ -4038,7 +4038,7 @@ void discardCommandQueue(client *c) { queue->off = queue->len = queue->cap = 0; } -/* Returns the number of keys in the the incr_states array after adding keys. */ +/* Returns the number of keys in the incr_states array after adding keys. */ static int addKeysToIncrFindBatch(client *c, struct serverCommand *cmd, robj **argv, diff --git a/src/server.c b/src/server.c index e1cef181ff5..64b9dc2c345 100644 --- a/src/server.c +++ b/src/server.c @@ -807,7 +807,7 @@ dictType migrateCacheDictType = { .entryDestructor = dictEntryDestructorSdsKey, }; -/* Dict for for case-insensitive search using null terminated C strings. +/* Dict for case-insensitive search using null terminated C strings. * The keys stored in dict are sds though. */ dictType stringSetDictType = { .entryGetKey = dictEntryGetKey,