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:
weird_func(Cmd, Args) ->
?MODULE:Cmd(Args).
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.