summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-07-03 10:23:57 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-07-03 10:23:57 -0400
commite34de1202237a126decbfb12f84d04f8511aca9e (patch)
tree31f6256a2378fc980c1a5b10b137616b6b55d25f /bench
parent3d24924fe46562fe5ea780f478be3201de7a24a1 (diff)
downloadmongo-e34de1202237a126decbfb12f84d04f8511aca9e.tar.gz
dead assignment ("fd" never read before being subsequently set)
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/config.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bench/wtperf/config.c b/bench/wtperf/config.c
index 3768bdea3dc..3e9584e8860 100644
--- a/bench/wtperf/config.c
+++ b/bench/wtperf/config.c
@@ -405,7 +405,6 @@ config_opt_file(CONFIG *cfg, const char *filename)
char *comment, *file_buf, *line, *ltrim, *rtrim;
file_buf = NULL;
- fd = -1;
if ((fd = open(filename, O_RDONLY)) == -1) {
fprintf(stderr, "wtperf: %s: %s\n", filename, strerror(errno));