Fixed uninitialized variable.

This commit is contained in:
Ryan C. Gordon 2009-09-14 19:31:42 +00:00
parent 569edcb04e
commit 82d437ee4f

View file

@ -267,7 +267,9 @@ Sys_StringToSockaddr
*/ */
static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int sadr_len, sa_family_t family) static qboolean Sys_StringToSockaddr(const char *s, struct sockaddr *sadr, int sadr_len, sa_family_t family)
{ {
struct addrinfo hints, *res = NULL, *search; struct addrinfo hints;
struct addrinfo *res = NULL;
struct addrinfo *search = NULL;
struct addrinfo *hintsp; struct addrinfo *hintsp;
int retval; int retval;