Minor fixes and refactor to make cppcheck happy.
This fixes: - A potential bug in the "guessed monitor layout" code that may detect less monitors than correct (XRandR code path not affected). - Unused values assigned to variables (annotated with a (void) cast where necessary). - num_monitors variable redundantly checked for zero in cases where conditional compilation removes all code that would set it.
parent
c6de583d
Please register or sign in to comment