<div dir="ltr"><div><div><div>Hello,<br><br></div>In this piece of code, dialyzer fails to detect unused variable RState:<br><a href="https://github.com/pooya/disco/blob/dialyzer_bug/master/src/disco_worker.erl#L235">https://github.com/pooya/disco/blob/dialyzer_bug/master/src/disco_worker.erl#L235</a><br>
<br></div><div>(The code should be changed to use _ instead of RState, but I left it like this to report this issue).<br></div><div><br></div>Erlang versions prior to R16B03 seem to correctly detect and report this issue:<br>
<a href="https://travis-ci.org/pooya/disco/builds/25693989">https://travis-ci.org/pooya/disco/builds/25693989</a><br><br></div>Therefore, this seem to be an issue in dialyzer which is also present in Erlang 17.0<br><div><br>
<br></div></div>