tools: constify the optarg handling of seats
This shuts up scan-build complaining about memory leaks in libinput
debug-events (needs the right combination of --device option and eventually
triggering usage()) and saves us a bunch of unnecessary allocations.
Signed-off-by:
Peter Hutterer <peter.hutterer@who-t.net>
Showing
Please register or sign in to comment