]> git.ipfire.org Git - thirdparty/hostap.git/commit - wpa_supplicant/config.c
Remove unnecessary tracking of first entry
authorJouni Malinen <j@w1.fi>
Sun, 29 Jun 2014 21:50:40 +0000 (00:50 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jul 2014 09:38:48 +0000 (12:38 +0300)
commit290ea6a76e5774591765bcf1eba86e56da5cdf00
treead9da53c961b9698ccbce4ac7c0a921df7d3376e
parentd3fa2bbb0278ffe34fc4486f04c4281a2b100c67
Remove unnecessary tracking of first entry

The pointer to the current position is enough to figure out whether the
proto string is the first one in the buffer. Removing the separate
tracking variable cleans up a static analyzer warning on dead
assignment.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/config.c