From 44cfa6d876c2ac7a58add4324f79d4365de5eab2 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 2 May 2016 19:04:03 +0200 Subject: [PATCH] Cleanup --- libretro-common/net/net_socket.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libretro-common/net/net_socket.c b/libretro-common/net/net_socket.c index a2abbcf49d..450bc3c6b5 100644 --- a/libretro-common/net/net_socket.c +++ b/libretro-common/net/net_socket.c @@ -214,11 +214,10 @@ int socket_create( enum socket_type socket_type, enum socket_protocol protocol_type) { -#ifdef VITA int type = 0; int domain = 0; int protocol = 0; - +#ifdef VITA switch (domain_type) { case SOCKET_DOMAIN_INET: @@ -254,10 +253,6 @@ int socket_create( return sceNetSocket(name, domain, type, protocol); #else - int type = 0; - int domain = 0; - int protocol = 0; - switch (domain_type) { case SOCKET_DOMAIN_INET: