Skip to content

Commit d64181f

Browse files
committed
Remove debug prints
1 parent 8ea368e commit d64181f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/chunker.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ impl Chunker {
133133
}
134134

135135
println!("[INFO] Unable to close all ifs. Undoing the added scripts to a point where num_unclosed_ifs is 0.");
136-
println!("[INFO] UNDO CALL STACK: {:?}", undo_info.call_stack);
137136
let mut removed_scripts = vec![];
138137
let mut removed_len = 0;
139138

@@ -145,7 +144,6 @@ impl Chunker {
145144
if builder.contains_flow_op() {
146145
if builder.is_script_buf() && builder.len() == 1 {
147146
num_unclosed_ifs -= builder.num_unclosed_ifs();
148-
println!("[INFO] Removing {:?}", builder);
149147
removed_len += builder.len();
150148
removed_scripts.push(builder);
151149
if num_unclosed_ifs == 0 {
@@ -184,10 +182,6 @@ impl Chunker {
184182
}
185183
} else {
186184
// No OP_IF, OP_NOTIF or OP_ENDIF in that structured script so just remove it
187-
println!(
188-
"[INFO] Removing because it contains no flow control {:?}",
189-
builder
190-
);
191185
removed_len += builder.len();
192186
removed_scripts.push(builder);
193187
}

0 commit comments

Comments
 (0)