title: Suppressing Erlang "unused function" warnings
body: <p>I wrote an Erlang module where not all the internal functions are directly called. Instead, there's a couple functions that look something like this:</p>
  
  <pre><code>weird_func(Cmd, Args) -&gt;
      ?MODULE:Cmd(Args).
  </code></pre>
  
  <p>It's a simplified example, but you get the idea. The Erlang compiler spits out warnings about unused functions, when in fact they are actually used, just not directly. Is there some way to suppress these warnings? Ideally I don't want to suppress all such warnings, but rather I'd like to tell the Erlang compiler to consider a few specific functions as special cases.</p>