mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-04 00:06:11 +00:00
Remove some unused variables
This commit is contained in:
parent
e6ca330337
commit
d0707437c9
@ -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));
|
||||
|
||||
|
@ -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 */
|
||||
|
@ -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';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user