Commit 269155c8 authored by Rudolf Polzer's avatar Rudolf Polzer
Browse files

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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment