Android Question Unused Variable 'refID'. (warning #9)

SCS

Member
Licensed User
Longtime User
Declared the variable in Process_Globals
B4X:
Sub Process_Globals
    Dim refID As Int: refID = 0
End Sub
for entire project usage.

This variable use in another active module.

When compiling, above message show in log
B4X:
Unused Variable 'refID'. (warning #9)

And when we want to use this variable, we need to code it in this format Main.refID and not just refID in another module.

Can we just ignore this error or will it have any side effect to the project?
 
Top