Skip to content

Commit 41b7af9

Browse files
committed
make the return-checker happy about pretty::pp::base_indent
1 parent 387a888 commit 41b7af9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/comp/pretty/pp.rs

+1
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ fn base_indent(ps p) -> uint {
163163
auto cx = p.context.(i);
164164
if (cx.tp == cx_v) {ret cx.indent;}
165165
}
166+
ret 0u;
166167
}
167168

168169
fn cx_is(contexttype a, contexttype b) -> bool {

0 commit comments

Comments
 (0)