mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-26 22:11:18 +00:00
Fixed uninitialized variable.
This commit is contained in:
parent
569edcb04e
commit
82d437ee4f
1 changed files with 3 additions and 1 deletions
|
@ -267,7 +267,9 @@ Sys_StringToSockaddr
|
|||
*/
|
||||
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;
|
||||
int retval;
|
||||
|
||||
|
|
Loading…
Reference in a new issue