diff options
-rw-r--r-- | bench/wtperf/wtperf.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c index d865b290aa8..2eafc3ad92a 100644 --- a/bench/wtperf/wtperf.c +++ b/bench/wtperf/wtperf.c @@ -138,7 +138,6 @@ randomize_value(CONFIG *cfg, char *value_buf) static int cb_asyncop(WT_ASYNC_CALLBACK *cb, WT_ASYNC_OP *op, int ret, uint32_t flags) { - CONFIG *cfg; CONFIG_THREAD *thread; TRACK *trk; @@ -151,7 +150,7 @@ cb_asyncop(WT_ASYNC_CALLBACK *cb, WT_ASYNC_OP *op, int ret, uint32_t flags) type = op->get_type(op); thread = (CONFIG_THREAD *)op->c.lang_private; cfg = thread->cfg; - + trk = NULL; switch (type) { case WT_AOP_INSERT: trk = &thread->insert; |