[ejabberd] Unused variables
badlop at gmail.com
Mon Oct 15 13:24:52 MSD 2007
2007/10/8, Sn!per <sniper at home.net.my>:
> When compiling ejabberd, I received a lot of warnings about unused variables:
> /usr/local/bin/erlc -W -I .. -pz .. -o .. ejabberd_web_admin.erl
> ./ejabberd_web_admin.erl:526: Warning: variable 'US' is unused
> ./ejabberd_web_admin.erl:528: Warning: variable 'Query' is unused
> ./ejabberd_http_poll.erl:288: Warning: variable 'Reason' is unused
> ./ejabberd_http_poll.erl:288: Warning: variable 'StateName' is unused
> make: Leaving directory `/root/ejabberd-1.1.4/src/web'
> making all in stringprep
> However 'make' finished with no error. Is this okay? Please advise. TIA.
The compilation finished successfully, those warnings are typical, so
Here is the related bug issue:
Remove compilation warnings
Fixing the code is easy, but a lot of the patches already written and
submitted to the bug tracker would need to be updated yet again.
More information about the ejabberd