Bug? Unused variable warning

kohle

Active Member
Licensed User
Longtime User
Hi,

please see the screenshot. I declared a variable and some lines after ,
I use the variable.

For me the variable is used. The warning says unused.
 

Attachments

  • 09-06-_2015_16-13-13.png
    09-06-_2015_16-13-13.png
    15.2 KB · Views: 318

kohle

Active Member
Licensed User
Longtime User
I dont understand your answer. But I made a little change in the code.

See next screenshot. I assigned it at declaration and 2 lines after I assigned it again

Still getting the warning. I saved the project.
 

Attachments

  • 09-06-_2015_16-33-59.png
    09-06-_2015_16-33-59.png
    5.5 KB · Views: 283

kohle

Active Member
Licensed User
Longtime User
I think I know what you mean.
I dont use the variable for something, like adding to a map,list...

I think "unused" can be misunderstood.
 
Top