]> 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>
Fri, 19 Apr 2024 18:41:23 +0000 (20:41 +0200)
commit6bb20f1e5d6e07d36158183401c95fd06eec235d
tree7160298564745eb16d518ef28275bda4b893ea1e
parentf66eebdfb18ab112491169cc55d3893068b1b401
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