[ejabberd] Unused variables

Sn!per sniper at home.net.my
Mon Oct 8 13:55:19 MSD 2007


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_web_admin.erl:529: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:544: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:546: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:547: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:572: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:574: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:575: Warning: variable 'Lang' is unused
./ejabberd_web_admin.erl:575: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:578: Warning: variable 'Host' is unused
./ejabberd_web_admin.erl:579: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:581: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:582: Warning: variable 'Lang' is unused
./ejabberd_web_admin.erl:582: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:585: Warning: variable 'Host' is unused
./ejabberd_web_admin.erl:586: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:588: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:589: Warning: variable 'Lang' is unused
./ejabberd_web_admin.erl:589: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:593: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:596: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:641: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:644: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:684: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:687: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:754: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:757: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:790: Warning: variable 'Method' is unused
./ejabberd_web_admin.erl:791: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:794: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:831: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:833: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:834: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:839: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:842: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:847: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:849: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:850: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:855: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:857: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:858: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:863: Warning: variable 'Method' is unused
./ejabberd_web_admin.erl:864: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:867: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:904: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:906: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:907: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:912: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:915: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:920: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:923: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:928: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:931: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:936: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:938: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:939: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:944: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:947: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:957: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:960: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:965: Warning: variable 'US' is unused
./ejabberd_web_admin.erl:968: Warning: variable 'Request' is unused
./ejabberd_web_admin.erl:1056: Warning: variable 'SName' is unused
./ejabberd_web_admin.erl:1103: Warning: variable 'Name' is unused
./ejabberd_web_admin.erl:1103: Warning: variable 'Spec' is unused
./ejabberd_web_admin.erl:1148: Warning: variable 'AccessRules' is unused
./ejabberd_web_admin.erl:1177: Warning: variable 'Rule' is unused
./ejabberd_web_admin.erl:1245: Warning: variable 'Node' is unused
./ejabberd_web_admin.erl:1324: Warning: variable 'SU' is unused
./ejabberd_web_admin.erl:1405: Warning: variable 'R' is unused
./ejabberd_web_admin.erl:1408: Warning: variable 'S' is unused
./ejabberd_web_admin.erl:1640: Warning: variable 'Admin' is unused
./ejabberd_web_admin.erl:1857: Warning: variable 'Host' is unused
./ejabberd_web_admin.erl:1857: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:1931: Warning: variable 'Res' is unused
./ejabberd_web_admin.erl:2021: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:2068: Warning: variable 'Dir' is unused
./ejabberd_web_admin.erl:2096: Warning: variable 'Host' is unused
./ejabberd_web_admin.erl:2096: Warning: variable 'NPath' is unused
./ejabberd_web_admin.erl:2096: Warning: variable 'Node' is unused
./ejabberd_web_admin.erl:2096: Warning: variable 'Query' is unused
./ejabberd_web_admin.erl:2230: Warning: variable 'ID' is unused
./ejabberd_web_admin.erl:2309: Warning: variable 'ID' is unused
./ejabberd_web_admin.erl:2505: Warning: variable 'Disabled' is unused
./ejabberd_web_admin.erl:2649: Warning: variable 'Server' is unused
./ejabberd_web_admin.erl:2651: Warning: variable 'Server' is unused
/usr/local/bin/erlc -W -I .. -pz .. -o .. ejabberd_http_poll.erl
./ejabberd_http_poll.erl:87: Warning: variable 'Request' is unused
./ejabberd_http_poll.erl:185: Warning: variable 'Event' is unused
./ejabberd_http_poll.erl:197: Warning: variable 'From' is unused
./ejabberd_http_poll.erl:215: Warning: variable 'From' is unused
./ejabberd_http_poll.erl:215: Warning: variable 'StateName' is unused
./ejabberd_http_poll.erl:220: Warning: variable 'From' is unused
./ejabberd_http_poll.erl:259: Warning: variable 'From' is unused
./ejabberd_http_poll.erl:263: Warning: variable 'Event' is unused
./ejabberd_http_poll.erl:263: Warning: variable 'From' is unused
./ejabberd_http_poll.erl:267: Warning: variable 'Extra' is unused
./ejabberd_http_poll.erl:267: Warning: variable 'OldVsn' is unused
./ejabberd_http_poll.erl:276: Warning: variable 'StateName' is unused
./ejabberd_http_poll.erl:288: Warning: variable 'Reason' is unused
./ejabberd_http_poll.erl:288: Warning: variable 'StateName' is unused
make[1]: 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.

--
roger



---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------


More information about the ejabberd mailing list