diff --git a/libretro-common/net/net_http.c b/libretro-common/net/net_http.c index 9dff75ad06..fbccbc9e33 100644 --- a/libretro-common/net/net_http.c +++ b/libretro-common/net/net_http.c @@ -303,14 +303,10 @@ struct http_connection_t *net_http_connection_new(const char *url, domain_port2 = strtok(NULL, ":"); url_port = domain_port2; if (strchr(domain_port2, (char) '/') != NULL) - { url_port = strtok(domain_port2, "/"); - } if (url_port != NULL) - { conn->port = atoi(url_port); - } strlcpy(new_domain, domain_port, sizeof(new_domain)); diff --git a/menu/drivers/rgui.c b/menu/drivers/rgui.c index 62f8907282..34074be586 100644 --- a/menu/drivers/rgui.c +++ b/menu/drivers/rgui.c @@ -1291,8 +1291,6 @@ static void rgui_init_particle_effect(rgui_t *rgui) break; case RGUI_PARTICLE_EFFECT_STARFIELD: { - float min_depth = (float)fb_width / 12.0f; - for (i = 0; i < NUM_PARTICLES; i++) { rgui_particle_t *particle = &particles[i]; @@ -2248,8 +2246,6 @@ static void rgui_cache_background(rgui_t *rgui) { size_t fb_pitch; unsigned fb_width, fb_height; - uint16_t *src = NULL; - uint16_t *dst = NULL; /* Only regenerate the background if we are *not* * currently showing a wallpaper image */ diff --git a/tasks/task_save.c b/tasks/task_save.c index fd1a88703f..eb0fd00772 100644 --- a/tasks/task_save.c +++ b/tasks/task_save.c @@ -1474,8 +1474,6 @@ static bool dump_to_file_desperate(const void *data, time_t time_; char *timebuf; char *path; - bool ret = false; - char *application_data = (char*)malloc(PATH_MAX_LENGTH * sizeof(char)); application_data[0] = '\0';