[RFC] Fix clang analysis warnings. (4)

Continues #1389, #1431, and #1460 .

This fixes **19** warnings in:
- tag.c
- window.c
- eval.c
- screen.c