summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz N. Gies <heinz@licenser.net>2015-09-21 07:08:06 +0200
committerHeinz N. Gies <heinz@licenser.net>2015-09-21 07:08:38 +0200
commitbba67f8b211ebd1fc50f335bbaa3e69d0633fee1 (patch)
tree47b7c9d1cdcc94993708a7a30f97ea0f675ce01f
parentcbbd8b60a1835a46882aacf1db326ee362ae67a7 (diff)
Add no local return styling
-rw-r--r--src/rebar_dialyzer_format.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_dialyzer_format.erl b/src/rebar_dialyzer_format.erl
index a6a6574..e4c0183 100644
--- a/src/rebar_dialyzer_format.erl
+++ b/src/rebar_dialyzer_format.erl
@@ -149,7 +149,7 @@ message_to_string({unmatched_return, [Type]}) ->
format("Expression produces a value of type ~s,"
" but this value is unmatched\n", [Type]);
message_to_string({unused_fun, [F, A]}) ->
- format("Function ~w/~w will never be called\n", [F, A]);
+ format(?BW "Function "?NR"~w/~w"?BW" will never be called\n", [F, A]);
%%----- Warnings for specs and contracts -------------------
message_to_string({contract_diff, [M, F, _A, Contract, Sig]}) ->
format("Type specification ~w:~w~s"