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();
 }
 
n' href='/danisanti/profani-tty/blame/theme_template?id=106e909fbd7d5958ba79577d02d977d967d400dd'>^
30b5f112 ^


446027b9 ^
30b5f112 ^






316b6a7b ^
30b5f112 ^
316b6a7b ^
cce01f1d ^
316b6a7b ^

30b5f112 ^
216493ef ^
316b6a7b ^
16fbdedc ^
b4482b9f ^
216493ef ^

b4482b9f ^
216493ef ^

b4482b9f ^
216493ef ^
5bccee93 ^
abc2f0de ^
97d96746 ^

cce01f1d ^
5bccee93 ^
f91b21a1 ^
2bda22c3 ^
a00095c8 ^
2bda22c3 ^

30b5f112 ^
b21edfaa ^
57dc5f14 ^
f0f3a739 ^
35239ee3 ^

fb7001cf ^
72c1c496 ^
bab75cae ^
0aa758cb ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141