e main - remove unused env vbar stuff since we dont exec ourselves

This commit is contained in:
Carsten Haitzler 2020-04-19 19:10:50 +01:00
parent 97d98c9beb
commit 4ff2b3e4c7
1 changed files with 1 additions and 13 deletions

View File

@ -240,8 +240,7 @@ main(int argc, char **argv)
Eina_Bool safe_mode = EINA_FALSE;
Eina_Bool waslocked = EINA_FALSE;
Eina_Stringshare *strshare;
double t = 0.0, tstart = 0.0;
char *s = NULL, buff[32];
char *s = NULL;
struct sigaction action;
#ifdef __linux__
@ -292,17 +291,6 @@ main(int argc, char **argv)
TS("Signal Trap Done");
}
t = ecore_time_unix_get();
s = getenv("E_START_TIME");
if ((s) && (!getenv("E_RESTART_OK")))
{
tstart = atof(s);
if ((t - tstart) < 5.0) safe_mode = EINA_TRUE;
}
tstart = t;
snprintf(buff, sizeof(buff), "%1.1f", tstart);
e_util_env_set("E_START_TIME", buff);
TS("Eina Init");
if (!eina_init())
{