Remove unused REDIS_TEST_MAIN dead code in crc64.c (#160)
We use `#ifdef SERVER_TEST` to run the relavent tests, we can now remove the dead code `#ifdef REDIS_TEST_MAIN`. Signed-off-by: Vitah Lin <vitahlin@gmail.com>
This commit is contained in:
parent
717dfe8022
commit
cbbaf69d1d
@ -152,10 +152,3 @@ int crc64Test(int argc, char *argv[], int flags) {
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef REDIS_TEST_MAIN
|
||||
int main(int argc, char *argv[]) {
|
||||
return crc64Test(argc, argv);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user