diff options
author | Keith Bostic <keith.bostic@mongodb.com> | 2016-07-21 11:25:34 -0400 |
---|---|---|
committer | sueloverso <sue@mongodb.com> | 2016-07-21 11:25:34 -0400 |
commit | bbc17c2a586d56ff462b237c94a4ebab513a44cc (patch) | |
tree | 3caa5bc726ca831de1ca056d661cab503455ec64 /bench/wtperf/wtperf.h | |
parent | f9c5b297944575e902d0fede31b5a0f85ce7fdbf (diff) | |
download | mongo-bbc17c2a586d56ff462b237c94a4ebab513a44cc.tar.gz |
Fix a set of places where we ignored the return value of a function. (#2893)
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r-- | bench/wtperf/wtperf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h index 9f37d361755..27c3832d316 100644 --- a/bench/wtperf/wtperf.h +++ b/bench/wtperf/wtperf.h @@ -276,7 +276,7 @@ void latency_print(CONFIG *); int run_truncate( CONFIG *, CONFIG_THREAD *, WT_CURSOR *, WT_SESSION *, int *); int setup_log_file(CONFIG *); -int setup_throttle(CONFIG_THREAD*); +void setup_throttle(CONFIG_THREAD*); int setup_truncate(CONFIG *, CONFIG_THREAD *, WT_SESSION *); int start_idle_table_cycle(CONFIG *, pthread_t *); int stop_idle_table_cycle(CONFIG *, pthread_t); @@ -287,7 +287,7 @@ uint64_t sum_read_ops(CONFIG *); uint64_t sum_truncate_ops(CONFIG *); uint64_t sum_update_ops(CONFIG *); void usage(void); -int worker_throttle(CONFIG_THREAD*); +void worker_throttle(CONFIG_THREAD*); void lprintf(const CONFIG *, int err, uint32_t, const char *, ...) #if defined(__GNUC__) |