Make get_mode() easier for static analyzers
Add an explicit check for modes != NULL instead of depending on num_modes > 0 implying that. This is to silence invalid static analyzer reports. Signed-off-by: Jouni Malinen <jouni@codeaurora.org>master
parent
9e46b31273
commit
857c4dfa83
Loading…
Reference in New Issue