about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-02 21:06:46 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-02 21:06:46 -0700
commit2f73654b742d2a446d2f5b2bacebda7d9b9cf457 (patch)
tree7a04a94fa941f59b8db4db7240b32b8c0825b308
parentd383ba76348117ed74e077b7cf0467851c19a0ac (diff)
downloadmu-2f73654b742d2a446d2f5b2bacebda7d9b9cf457.tar.gz
4656
-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();
 }