]> git.tuebingen.mpg.de Git - paraslash.git/commit
play: Simplify and improve get_key_map_seq().
authorAndre Noll <maan@tuebingen.mpg.de>
Sun, 25 Jun 2023 12:29:07 +0000 (14:29 +0200)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 18 May 2024 20:03:59 +0000 (22:03 +0200)
commitc804020c8fb8af7c73a3494960cae619d20dfc1a
tree411a1ee86582b9f08ae05c544c65b01610d69f39
parentad1a477852904d43d67dae25c626e1d523c3e27f
play: Simplify and improve get_key_map_seq().

Combine it with get_user_key_map_seq() and replace the NULL check
with an assertion since the condition can never be true here. This
makes gcc's static analyzer happy, which complained about a possible
NULL pointer dereference.
play.c