2 ms·
Don't IDEs highlight variables that aren't read/written to?
by JCharante 3y ago
Don't IDEs highlight variables that aren't read/written to?
- lobsterthief 3y agoIn this case “unused” might mean declaring or initializing a variable and then assigning or reassigning a value to it later. In this case, it is technically used, so most linters won’t pick that up. But it actually does nothing so it’s wasted cycles.
- gowld 3y agoNo decent compiler would waste a cycle on that.