summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDon Anderson <dda@mongodb.com>2017-07-20 23:00:34 -0400
committerMichael Cahill <michael.cahill@mongodb.com>2017-07-21 13:00:34 +1000
commit14f02030629f1e82ef8580843f413a8643e6bcba (patch)
treeeb9fd90962456404eaabeb1e81a9c77d6c88f7dc
parent00abde90ae32718b5bc4af976114e8ca670cf2a7 (diff)
downloadmongo-14f02030629f1e82ef8580843f413a8643e6bcba.tar.gz
WT-3432 Fix braces error. (#3524)
-rw-r--r--bench/workgen/workgen.cxx7
1 files changed, 5 insertions, 2 deletions
diff --git a/bench/workgen/workgen.cxx b/bench/workgen/workgen.cxx
index 1a0735f9adc..ce9debcca2f 100644
--- a/bench/workgen/workgen.cxx
+++ b/bench/workgen/workgen.cxx
@@ -925,8 +925,11 @@ void Operation::describe(std::ostream &os) const {
}
if (!_config.empty())
os << ", '" << _config;
- if (_transaction != NULL)
- os << ", ["; _transaction->describe(os); os << "]";
+ if (_transaction != NULL) {
+ os << ", [";
+ _transaction->describe(os);
+ os << "]";
+ }
if (_group != NULL) {
os << ", group[" << _repeatgroup << "]: {";
bool first = true;