commit | beb5f45a7693eb72e1f51db2de2e4d409ab5e002 | [log] [tgz] |
---|---|---|
author | Vladislav Kulikov <vlad_kulikov_c@pm.me> | Fri Oct 10 19:25:16 2025 +0300 |
committer | Chris Friedt <chrisfriedt@gmail.com> | Tue Oct 14 17:25:55 2025 -0400 |
tree | 3fc32bc340160b2f1ec32a0c1c6c9648da244654 | |
parent | 2de3cb9e6d170e92092204406659d791bfc8d02c [diff] |
smf: use get_child_of() for topmost in smf_set_initial() Replace get_last_of(init_state) with get_child_of(init_state, NULL), and add a brief comment to avoid relying on a trivial wrapper. Also, the wrapper name get_last_of() is not very descriptive; using get_child_of() with an comment makes the intent more explicit. Signed-off-by: Vladislav Kulikov <vlad_kulikov_c@pm.me>