CLN: Removed unused variable
I can't see the reason for ```res_view``` to exist, the CI should tell me if I am wrong.

Also this is removing one warning when compiling ```pandas/_libs/internals.pyx```

This is the warning that is removing:

```
pandas/_libs/internals.c:8952:36: warning: ‘__pyx_t_23’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 8952 |         __pyx_cur_scope->__pyx_t_9 = __pyx_t_23;
```
@MomIsBestFriend we have a rather large queue atm so closing this one since I don't think would go forward with it anyway, but if you see a way to get the warnings out of this function would love a separate PR for that