[bug]2.7beta1 xx is not used

icefairy333

Active Member
Licensed User
Longtime User
attachment.php

see the attach pic.
 

Attachments

  • e1.png
    e1.png
    73.9 KB · Views: 259

Erel

B4X founder
Staff member
Licensed User
Longtime User
What is the type of 'hj'?

This is not a bug in the warning engine. By convention events are made of <event name prefix>_<event type>. The compiler cannot know that this is an event sub if your library doesn't follow this convention.

The solution is simple. You should either add an 'ignore comment to this sub or disable this warning. See the warnings tutorial.
 

icefairy333

Active Member
Licensed User
Longtime User
maybe we can searching all of the code files which havenot been annotationed to determine if the sub is unused?

What is the type of 'hj'?

This is not a bug in the warning engine. By convention events are made of <event name prefix>_<event type>. The compiler cannot know that this is an event sub if your library doesn't follow this convention.

The solution is simple. You should either add an 'ignore comment to this sub or disable this warning. See the warnings tutorial.
 
Top