mirror of
https://github.com/libretro/RetroArch
synced 2025-04-09 21:45:45 +00:00
Fix some warnigns in net_http.c
This commit is contained in:
parent
7e5060e1f1
commit
61776c5175
@ -186,8 +186,7 @@ static ssize_t net_http_recv(int fd, bool *error,
|
|||||||
http_t *net_http_new(const char * url)
|
http_t *net_http_new(const char * url)
|
||||||
{
|
{
|
||||||
bool error;
|
bool error;
|
||||||
char *domain, *location;
|
char *domain = NULL, *location = NULL;
|
||||||
|
|
||||||
int port, fd = -1;
|
int port, fd = -1;
|
||||||
http_t *state = NULL;
|
http_t *state = NULL;
|
||||||
char *urlcopy =(char*)malloc(strlen(url)+1);
|
char *urlcopy =(char*)malloc(strlen(url)+1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user