[erlang-bugs] try ... catch hidden compile warning
Anthony Ramine
n.oxyde@REDACTED
Tue Nov 26 11:47:31 CET 2013
This is fixed by one of my patches currently in review.
--
Anthony Ramine
Le 26 nov. 2013 à 03:46, Anton Ryabkov <anton.ryabkov@REDACTED> a écrit :
> Hello,
>
> on Erlang R16B02 I've found that try ... catch constraction hidden compile warning: "variable 'Sth' is unused". On Erlang R15B02 warning exists. The sample at the attach. When I complile by Erlang R15B02 I have two warnings:
> Eshell V5.9.1 (abort with ^G)
> 1> c(no_warning).
> no_warning.erl:10: Warning: variable 'STh' is unused
> no_warning.erl:22: Warning: variable 'STh' is unused
> {ok,no_warning}
>
> But when I compile by Erlang R16B02 I have only one warning:
> Eshell V5.10.3 (abort with ^G)
> 1> c(no_warning).
> no_warning.erl:22: Warning: variable 'STh' is unused
> {ok,no_warning}
>
> Anton
> <no_warning.erl>_______________________________________________
> erlang-bugs mailing list
> erlang-bugs@REDACTED
> http://erlang.org/mailman/listinfo/erlang-bugs
More information about the erlang-bugs
mailing list