title: Erlang dialyzer The created fun has no local return
body: <p>I run dialyzer for my project. I got:</p>
  
  <pre><code>test.erl:97: The created fun has no local return
  </code></pre>
  
  <p>In 97 line i have:</p>
  
  <pre><code>    List = lists:filter(fun(X) -&gt;
                                 {_, _, SomeBoolFlag} = X,
                                 SomeBoolFlag == false
                          end,
                  TestList)
  </code></pre>
  
  <p>What's wrong?</p>
  
  <p>Thank you.</p>