]> 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, 17 Mar 2024 11:35:07 +0000 (12:35 +0100)
commitb0d8c47b912dc09d66fb51c85b48b0612b5ed88f
tree7160298564745eb16d518ef28275bda4b893ea1e
parentadb37d9f3e5447522a3b27c2fec1d417c11af847
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
shuts up gcc's static analyzer which complained about a possible NULL
pointer dereference.
play.c