Commit 7332e765 authored by John Esmet's avatar John Esmet Committed by Yoni Fogel

refs #5101 coverage and manual inspection says toku_dont_call_this_compare is dead code


git-svn-id: file:///svn/toku/tokudb@47321 c7de825b-a66e-492c-adef-691d508d4ae1
parent 7e67b2f9
......@@ -100,9 +100,3 @@ int
toku_builtin_compare_fun (DB *db __attribute__((__unused__)), const DBT *a, const DBT*b) {
return toku_keycompare(a->data, a->size, b->data, b->size);
}
int
toku_dont_call_this_compare_fun (DB *db __attribute__((__unused__)), const DBT *a __attribute__((__unused__)), const DBT*b __attribute__((__unused__))) {
assert(0);
return 0;
}
......@@ -10,13 +10,10 @@
#include "ybt.h"
#include "fttypes.h"
int toku_keycompare (bytevec key1, ITEMLEN key1len, bytevec key2, ITEMLEN key2len);
void toku_test_keycompare (void) ;
int toku_builtin_compare_fun (DB *, const DBT *, const DBT*) __attribute__((__visibility__("default")));
int toku_dont_call_this_compare_fun (DB *, const DBT *, const DBT*);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment