Remove some unused variables

This commit is contained in:
Twinaphex 2019-05-18 21:26:29 +02:00
parent e6ca330337
commit d0707437c9
3 changed files with 0 additions and 10 deletions

View File

@ -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));

View File

@ -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 */

View File

@ -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';