]> git.tue.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>
Wed, 4 Sep 2024 13:46:56 +0000 (15:46 +0200)
commit2dc14c23297a9fd3225ccf0a1e7c37596949db83
tree6698ebe5c46ec59a9e75ca882b4958ed365db517
parent33f20dd099c4b47fd1865d7cdaa0bd1841921ac4
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