r/ProgrammerHumor • • Sep 23 '19

Knowing how to code beforehand

Post image
7.6k Upvotes

264 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Sep 23 '19

[deleted]

20

u/nelusbelus Sep 23 '19

It could be, it could be that you mistyped it and it used the member's variable instead

0

u/[deleted] Sep 23 '19

[deleted]

9

u/fushuan Sep 23 '19

It's a warning, and not removing unused variables is horrible for maintaining the code. Don't write garbage code.

→ More replies (1)