Welcome to our community!
There is nothing wrong with your code or project. The warning message just tells you that there is a variable in your code that never gets used. If you check your code, you’ll see that this is true.
question got declared but it is neither used anywhere in the QuestionSO class nor in another class.
The code is not wrong by any means. Declaring variables that are never used is just a potential mistake because you usually want to do something with your code.
Please continue working on your project. At some point, Gary is going to use the
question variable, and then the warning message should disappear.
- Forum User Guides : How to mark a topic as solved
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.