Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
xkb: don't assign garbage value to led_return.
As the comment for the function states, led_return is undefined if map is NULL. We might as well skip writing to it then. Found by clang. Reported-by: Tomas Carnecky <[email protected]> Signed-off-by: Peter Hutterer <[email protected]> Reviewed-by: Jamey Sharp <[email protected]>
- Loading branch information