lib: remove unused variable

* sockopt.c (getsockopt_ifindex): "ifindex" was never used
1 file changed