Skip to content

Commit

Permalink
suppress "unreachable catch clause" warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
ninjudd committed Oct 30, 2013
1 parent ebf8f9a commit fa96099
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/leiningen/protobuf.clj
Expand Up @@ -129,7 +129,9 @@
(let [result (apply sh/proc (concat args [:dir proto-path]))]
(when-not (= (sh/exit-code result) 0)
(abort "ERROR:" (sh/stream-to-string result :err))))))
(javac (assoc project :java-source-paths [(.getPath dest)])))))))
(javac (assoc project
:java-source-paths [(.getPath dest)]
:javac-options ["-Xlint:none"])))))))

(defn compile-google-protobuf
"Compile com.google.protobuf.*"
Expand Down

0 comments on commit fa96099

Please sign in to comment.