Permalink
Browse files

Dead code is replaced with _ - we can probably do better, ?_ catching…

… maybe
  • Loading branch information...
1 parent 9278b06 commit b9cee3e516c1cc12c382739287ef143199e89ce2 @ohpauleez ohpauleez committed Mar 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/jonase/kibit/rules/control_structures.clj
View
4 src/jonase/kibit/rules/control_structures.clj
@@ -11,8 +11,8 @@
[(if true ?x) ?x]
[(when true . ?x) (do . ?x)]
[(do ?x) ?x]
- [(when-not true ?x) "removing this dead code"]
- [(when false ?x) "removing this dead code"]
+ [(when-not true ?x) _]
+ [(when false ?x) _]
[(if-let ?binding ?expr nil) (when-let ?binding ?expr)])
(comment

0 comments on commit b9cee3e

Please sign in to comment.