remove unused variable names
Former-commit-id: 18d688c2f04a8ce67409bd4442c7635d426fc0ac
This commit is contained in:
parent
7ee39396c0
commit
3bd777bf55
@ -1209,14 +1209,14 @@ void scanGenericCommand(client *c, robj_roptr o, unsigned long cursor) {
|
||||
sdsfree(typeCopy);
|
||||
return (void *)cursorResult;
|
||||
},
|
||||
[c, keys] (const redisDbPersistentDataSnapshot * snapshot, void *data) {
|
||||
[c, keys] (const redisDbPersistentDataSnapshot *, void *data) {
|
||||
mstime_t timeScanFilter;
|
||||
latencyStartMonitor(timeScanFilter);
|
||||
scanFilterAndReply(c, keys, nullptr, nullptr, false, nullptr, (unsigned long)data);
|
||||
latencyEndMonitor(timeScanFilter);
|
||||
latencyAddSampleIfNeeded("scan-async-filter", timeScanFilter);
|
||||
},
|
||||
[keys] (const redisDbPersistentDataSnapshot * snapshot, void *data) {
|
||||
[keys] (const redisDbPersistentDataSnapshot *, void *) {
|
||||
listSetFreeMethod(keys,decrRefCountVoid);
|
||||
listRelease(keys);
|
||||
}
|
||||
|
@ -546,13 +546,13 @@ void mgetCommand(client *c) {
|
||||
// Do async version for large number of arguments
|
||||
if (c->argc > 100) {
|
||||
if (c->asyncCommand(
|
||||
[c] (const redisDbPersistentDataSnapshot *snapshot) {
|
||||
[c] (const redisDbPersistentDataSnapshot *) {
|
||||
return c->argsAsList();
|
||||
},
|
||||
[c] (const redisDbPersistentDataSnapshot *snapshot, void *keys) {
|
||||
mgetCore(c, (list *)keys, snapshot);
|
||||
},
|
||||
[c] (const redisDbPersistentDataSnapshot *snapshot, void *keys) {
|
||||
[c] (const redisDbPersistentDataSnapshot *, void *keys) {
|
||||
c->freeArgList((list *)keys);
|
||||
}
|
||||
)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user