Skip to content

Commit

Permalink
Merge pull request #156 from inhabitedtype/rm-debug-printfs
Browse files Browse the repository at this point in the history
rm-deubg-printfs: remove debug output
  • Loading branch information
seliopou authored Oct 4, 2019
2 parents e82623e + 7ba0111 commit eb6c2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/headers.ml
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ let remove t name =
if not seen then raise Local else []
| (name,_ as nv')::s' ->
if CI.equal needle name
then (print_endline "seen: true"; loop s' needle true )
else (print_endline "seen: false"; nv'::(loop s' needle seen))
then loop s' needle true
else nv'::(loop s' needle seen)
in
try loop t name false
with Local -> t
Expand Down

0 comments on commit eb6c2e6

Please sign in to comment.