Skip to content

Commit

Permalink
Remove valdup from BenchmarkDictType (valkey-io#600)
Browse files Browse the repository at this point in the history
makes SERVER_CFLAGS='-DSERVER_TEST' compile as well

Introduced in valkey-io#443.

Signed-off-by: Eran Liberty <[email protected]>
Co-authored-by: Eran Liberty <[email protected]>
  • Loading branch information
eliblight and Eran Liberty authored Jun 5, 2024
1 parent 9319f7a commit 60c10a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dict.c
Original file line number Diff line number Diff line change
Expand Up @@ -1748,7 +1748,7 @@ char *stringFromLongLong(long long value) {
return s;
}

dictType BenchmarkDictType = {hashCallback, NULL, NULL, compareCallback, freeCallback, NULL, NULL};
dictType BenchmarkDictType = {hashCallback, NULL, compareCallback, freeCallback, NULL, NULL};

#define start_benchmark() start = timeInMilliseconds()
#define end_benchmark(msg) \
Expand Down

0 comments on commit 60c10a5

Please sign in to comment.