Here the diff has gone a bit crazy.
It is a "diff" between two completely different functions ...
I would propose to view the source code and not this diff :-(