summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-08-04 09:31:56 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-08-04 09:31:56 -0400
commit83368fdcf239a309f9b6a4098722e99317e8d5da (patch)
treeeea09eecd25f916335aec817b803e05ecd6654ab /bench
parenta9129dacb8ac3da5332a35bb2c1c6ed53c417d70 (diff)
downloadmongo-83368fdcf239a309f9b6a4098722e99317e8d5da.tar.gz
DEF_OPT_AS_INT isn't actually used anywhere, remove it for now.
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/wtperf_opt.i5
1 files changed, 0 insertions, 5 deletions
diff --git a/bench/wtperf/wtperf_opt.i b/bench/wtperf/wtperf_opt.i
index e202e209e8b..bf5afc011ff 100644
--- a/bench/wtperf/wtperf_opt.i
+++ b/bench/wtperf/wtperf_opt.i
@@ -31,7 +31,6 @@
#ifdef OPT_DECLARE_STRUCT
#define DEF_OPT_AS_BOOL(name, initval, desc) int name;
#define DEF_OPT_AS_CONFIG_STRING(name, initval, desc) const char *name;
-#define DEF_OPT_AS_INT(name, initval, desc) int name;
#define DEF_OPT_AS_STRING(name, initval, desc) const char *name;
#define DEF_OPT_AS_UINT32(name, initval, desc) uint32_t name;
#endif
@@ -42,8 +41,6 @@
#define DEF_OPT_AS_CONFIG_STRING(name, initval, desc) \
{ #name, desc, initval, CONFIG_STRING_TYPE, \
offsetof(CONFIG, name) },
-#define DEF_OPT_AS_INT(name, initval, desc) \
- { #name, desc, #initval, INT_TYPE, offsetof(CONFIG, name) },
#define DEF_OPT_AS_STRING(name, initval, desc) \
{ #name, desc, initval, STRING_TYPE, offsetof(CONFIG, name) },
#define DEF_OPT_AS_UINT32(name, initval, desc) \
@@ -53,7 +50,6 @@
#ifdef OPT_DEFINE_DEFAULT
#define DEF_OPT_AS_BOOL(name, initval, desc) initval,
#define DEF_OPT_AS_CONFIG_STRING(name, initval, desc) initval,
-#define DEF_OPT_AS_INT(name, initval, desc) initval,
#define DEF_OPT_AS_STRING(name, initval, desc) initval,
#define DEF_OPT_AS_UINT32(name, initval, desc) initval,
#endif
@@ -158,6 +154,5 @@ DEF_OPT_AS_UINT32(warmup, 0,
#undef DEF_OPT_AS_BOOL
#undef DEF_OPT_AS_CONFIG_STRING
-#undef DEF_OPT_AS_INT
#undef DEF_OPT_AS_STRING
#undef DEF_OPT_AS_UINT32