summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorDon Anderson <dda@ddanderson.com>2013-08-13 15:00:16 -0400
committerDon Anderson <dda@ddanderson.com>2013-08-13 15:00:16 -0400
commit64f3e0815e5eb9ca0a010628f2d5b09b74341f4b (patch)
treec196e2f3d8490b9b286475bc7ec874ef1908ba2e /bench
parente853178efb90624fb173d1f3cf4029b26a99268d (diff)
downloadmongo-64f3e0815e5eb9ca0a010628f2d5b09b74341f4b.tar.gz
formatting fixes, typo in comment, removed redundant 'break' stmt. refs #593
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/wtperf.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index 32f2e1d0818..09ebcc00400 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -92,7 +92,7 @@ typedef struct {
uint32_t flagmask;
} CONFIG_OPT;
-/* Al options changeable on command line using -o or -O are listed here. */
+/* All options changeable on command line using -o or -O are listed here. */
CONFIG_OPT config_opts[] = {
#define OPT_DEFINE_DESC
@@ -905,8 +905,7 @@ int main(int argc, char **argv)
switch (ch) {
case 'o':
/* Allow -o key=value */
- if (config_opt_line(&cfg,
- parse_session, optarg) != 0)
+ if (config_opt_line(&cfg, parse_session, optarg) != 0)
return (EINVAL);
break;
case 'v':
@@ -918,7 +917,6 @@ int main(int argc, char **argv)
case 'T':
user_tconfig = optarg;
break;
- break;
}
if (cfg.rand_range > 0)