]> git.ipfire.org Git - thirdparty/hostap.git/commit
Make test code easier for static analyzers
authorJouni Malinen <quic_jouni@quicinc.com>
Mon, 22 Jan 2024 20:02:39 +0000 (22:02 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 22 Jan 2024 20:16:49 +0000 (22:16 +0200)
commit5ae8838a06565be2127284f238fb5645e1e5a205
tree7dcc74304695ea40be2327886d3f96f490050ec8
parentc03377cf27d5971fab233bb8eee9f95a65ff9f5b
Make test code easier for static analyzers

The previous os_strncmp() calls have already verified that there is a
space in the string, so this os_strchr() call cannot really return NULL.
Anyway, make this easier for static analyzers to understand.

Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
wpa_supplicant/ctrl_iface.c