docview: fixes some compiler hints
docview: fixes some compiler hints

- unused variables
- added a note on how to fix another compiler hint (range check error)

wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI