src/lib/sockio-c.c 'val' is set but never used, removed