about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--003trace.cc3
-rw-r--r--subx/003trace.cc3
-rw-r--r--transect/003trace.cc3
3 files changed, 3 insertions, 6 deletions
diff --git a/003trace.cc b/003trace.cc
index ec1c876a..11b54818 100644
--- a/003trace.cc
+++ b/003trace.cc
@@ -164,9 +164,8 @@ string trace_stream::readable_contents(string label) {
   ostringstream output;
   label = trim(label);
   for (vector<trace_line>::iterator p = past_lines.begin();  p != past_lines.end();  ++p)
-    if (label.empty() || label == p->label) {
+    if (label.empty() || label == p->label)
       output << std::setw(4) << p->depth << ' ' << p->label << ": " << p->contents << '\n';
-    }
   return output.str();
 }
 
diff --git a/subx/003trace.cc b/subx/003trace.cc
index da5f3807..22622930 100644
--- a/subx/003trace.cc
+++ b/subx/003trace.cc
@@ -165,9 +165,8 @@ string trace_stream::readable_contents(string label) {
   ostringstream output;
   label = trim(label);
   for (vector<trace_line>::iterator p = past_lines.begin();  p != past_lines.end();  ++p)
-    if (label.empty() || label == p->label) {
+    if (label.empty() || label == p->label)
       output << std::setw(4) << p->depth << ' ' << p->label << ": " << p->contents << '\n';
-    }
   return output.str();
 }
 
diff --git a/transect/003trace.cc b/transect/003trace.cc
index fcbf26c0..3b4ae596 100644
--- a/transect/003trace.cc
+++ b/transect/003trace.cc
@@ -163,9 +163,8 @@ string trace_stream::readable_contents(string label) {
   ostringstream output;
   label = trim(label);
   for (vector<trace_line>::iterator p = past_lines.begin();  p != past_lines.end();  ++p)
-    if (label.empty() || label == p->label) {
+    if (label.empty() || label == p->label)
       output << std::setw(4) << p->depth << ' ' << p->label << ": " << p->contents << '\n';
-    }
   return output.str();
 }