Bug? Unused variable warning

kohle

Active Member
Licensed 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

kohle

Active Member
Licensed 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

kohle

Active Member
Licensed 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