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.
The text was updated successfully, but these errors were encountered: