]> 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>
Sun, 26 May 2024 16:27:14 +0000 (18:27 +0200)
commit8b110fb217624199021747e1c124d426e00b0911
tree6698ebe5c46ec59a9e75ca882b4958ed365db517
parent923e903f7e6204371b90754ce3650e725ce909a8
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