build: avoid compiler warnings
authorEric Blake <ebb9@byu.net>
Thu, 19 Nov 2009 04:46:35 +0000 (21:46 -0700)
committerIan Beckwith <ianb@erislabs.net>
Fri, 20 Nov 2009 00:46:37 +0000 (00:46 +0000)
commit0028f2774ffdde94d49854e5ec881ba9b6e8d817
treec95f396b46b8f9a2fd8df163709662a01c73eaaf
parent3796d4c2e95421f2a93c11703a85e232a887b000
build: avoid compiler warnings

Silence some warnings found on mingw.

* lib/select.c (rpl_select): Delete unused variable.
* lib/setsockopt.c (rpl_setsockopt): Avoid incompatible pointer.

Signed-off-by: Eric Blake <ebb9@byu.net>
(cherry picked from commit 111e540eb4ee2be2500e81bc14087042afb79b82)
ChangeLog
lib/select.c
lib/setsockopt.c