raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=4ff2b3e4c747448fb2b300095002f040b1e11702

commit 4ff2b3e4c747448fb2b300095002f040b1e11702
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Sun Apr 19 19:10:50 2020 +0100

    e main - remove unused env vbar stuff since we dont exec ourselves
---
 src/bin/e_main.c | 14 +-------------
 1 file changed, 1 insertion(+), 13 deletions(-)

diff --git a/src/bin/e_main.c b/src/bin/e_main.c
index cf37231c9..e87fdd469 100644
--- a/src/bin/e_main.c
+++ b/src/bin/e_main.c
@@ -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())
      {

-- 


Reply via email to