mirror of
https://github.com/libretro/RetroArch
synced 2025-01-31 15:32:59 +00:00
(OSX) Fix some warnings
This commit is contained in:
parent
b2c8254c06
commit
f011924355
@ -369,9 +369,11 @@ http_retcode http_get(const char *filename,
|
||||
char **pdata, int *plength, char *typebuf)
|
||||
{
|
||||
http_retcode ret;
|
||||
char header[MAXBUF], *pc;
|
||||
char header[MAXBUF], *pc = NULL;
|
||||
int fd, n, length = -1;
|
||||
|
||||
(void)pc;
|
||||
|
||||
if (!pdata)
|
||||
return ERRNULL;
|
||||
|
||||
|
@ -48,8 +48,10 @@ typedef enum
|
||||
ERR503 = 503, /* Service overloaded */
|
||||
|
||||
/* Succesful results */
|
||||
OK201 = 201, /* Resource succesfully created */
|
||||
OK200 = 200 /* Resource succesfully read */
|
||||
OK201 = 201, /* Resource successfully created */
|
||||
OK200 = 200, /* Resource successfully read */
|
||||
|
||||
OK0 = 0
|
||||
|
||||
} http_retcode;
|
||||
|
||||
|
@ -2181,7 +2181,6 @@ static int deferred_push_core_manager_list(void *data, void *userdata,
|
||||
{
|
||||
#ifdef HAVE_NETPLAY
|
||||
int len;
|
||||
unsigned i;
|
||||
char url[PATH_MAX_LENGTH];
|
||||
#endif
|
||||
char *buf = NULL;
|
||||
|
Loading…
x
Reference in New Issue
Block a user