summaryrefslogtreecommitdiff
path: root/ext/socket/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/socket.c')
-rw-r--r--ext/socket/socket.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/ext/socket/socket.c b/ext/socket/socket.c
index 09e8f2f00b..617cca2092 100644
--- a/ext/socket/socket.c
+++ b/ext/socket/socket.c
@@ -1218,7 +1218,6 @@ static VALUE
sock_s_getnameinfo(int argc, VALUE *argv, VALUE _)
{
VALUE sa, af = Qnil, host = Qnil, port = Qnil, flags, tmp;
- char *hptr, *pptr;
char hbuf[1024], pbuf[1024];
int fl;
struct rb_addrinfo *res = NULL;