]> git.ipfire.org Git - thirdparty/hostap.git/commit - src/drivers/driver_nl80211.c
nl80211: Get rid of unused assignment warning
authorJouni Malinen <j@w1.fi>
Sun, 17 Apr 2016 15:43:30 +0000 (18:43 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 17 Apr 2016 15:43:30 +0000 (18:43 +0300)
commitbd86ea0808f1b1cc573ae81277612577c4651046
treed37d7abf5cbcf0ac888ee365fa89e4f1d5ded6e2
parent18ae3a675cd56ebcf476c232c603dd6da31e8441
nl80211: Get rid of unused assignment warning

The os_snprintf() call here cannot really fail in practice, but since
its result was stored into the local variable and not checked, static
analyzers could warn about the unused assignment. Clean this up by
checking the return value.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/drivers/driver_nl80211.c