Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: connReader.handleReadError doesn't use its error parameter #24201
This is the case since the func was added in October 2016, as it hasn't been touched since:
Should the func not receive the parameter, or make use of it?
I found this with a static analysis tool - I don't necessarily think this is a bug. I simply agree with the tool that the code is a bit suspicious.