ecore/ecore_exe - removed duplicated null check.
authorChunEon Park <hermet@hermet.pe.kr>
Tue, 27 May 2014 11:44:37 +0000 (20:44 +0900)
committerChunEon Park <hermet@hermet.pe.kr>
Tue, 27 May 2014 11:44:37 +0000 (20:44 +0900)
src/lib/ecore/ecore_exe.c

index c533d654ec878ebe31f7fcd6d644d123b6b9cf0e..b37da22994ab26a792b18b5cb334280c7ff941d1 100644 (file)
@@ -698,9 +698,9 @@ ecore_exe_pipe_run(const char     *exe_cmd,
       if (e)
         {
            e->exe = exe;
-           if (e) /* Send the event. */
-             ecore_event_add(ECORE_EXE_EVENT_ADD, e,
-                             _ecore_exe_event_add_free, NULL);
+           /* Send the event. */
+           ecore_event_add(ECORE_EXE_EVENT_ADD, e,
+                           _ecore_exe_event_add_free, NULL);
         }
       /* INF("Running as %d for %s.\n", exe->pid, exe->cmd); */
    }