raster pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=5ce778194df01756ce6e73845a996f2ee8e78858

commit 5ce778194df01756ce6e73845a996f2ee8e78858
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Thu Jan 16 20:21:20 2020 +0000

    e_sys.c - remove old snprintf of enlightenment_sys cmd not used now
---
 src/bin/e_sys.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/bin/e_sys.c b/src/bin/e_sys.c
index f46001914..dd509c389 100644
--- a/src/bin/e_sys.c
+++ b/src/bin/e_sys.c
@@ -942,7 +942,6 @@ _e_sys_cb_acpi_event(void *data EINA_UNUSED, int type 
EINA_UNUSED, void *event)
 static int
 _e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, Eina_Bool raw)
 {
-   char buf[PATH_MAX];
    int ret = 0;
 
    switch (a)
@@ -1020,9 +1019,6 @@ _e_sys_action_do(E_Sys_Action a, char *param EINA_UNUSED, 
Eina_Bool raw)
         /* shutdown -r now */
         if (e_util_immortal_check()) return 0;
         e_fm2_die();
-        snprintf(buf, sizeof(buf),
-                 "%s/enlightenment/utils/enlightenment_sys reboot",
-                 e_prefix_lib_get());
         if (!_e_sys_comp_waiting)
           {
              if (raw)

-- 


Reply via email to