Closed methane closed 2 months ago
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description
There is a code
if data == nil
to avoid allocation when sending empty packet inhandleInFileRequest()
. But it didn't work because previous allocation happend inner block asdata := make(...)
. VSCode warns thatif data == nil
is tautology.Checklist