# `Dialyxir.Warnings.UnusedFunction`
[🔗](https://github.com/jeremyjh/dialyxir/blob/1.4.8/lib/dialyxir/warnings/unused_function.ex#L1)

Due to issues higher in the function or call stack, while the
function is recognized as used by the compiler, it will never be
recognized as having been called until the other error is resolved.

## Example

    defmodule Example do
      def ok() do
        raise "error"

        unused()
      end

      defp unused(), do: :ok
    end

---

*Consult [api-reference.md](api-reference.md) for complete listing*
