diff --git a/http_lib.c b/http_lib.c index aa2816ff04..380d16139f 100644 --- a/http_lib.c +++ b/http_lib.c @@ -369,8 +369,10 @@ 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; diff --git a/http_lib.h b/http_lib.h index 41b5d6cec9..2cbfd972ae 100644 --- a/http_lib.h +++ b/http_lib.h @@ -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; diff --git a/menu/menu_entries_cbs.c b/menu/menu_entries_cbs.c index d03dc583ea..dcc538bae9 100644 --- a/menu/menu_entries_cbs.c +++ b/menu/menu_entries_cbs.c @@ -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;