summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-16 17:07:11 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2013-07-16 17:07:11 +0900
commit8d324a5d3d78e3a0e89f82c06f93ecd9a24acde8 (patch)
treee64b2c47d944a071121c721ca7a23f7d0dfc1ea2 /src/lib/ecore
parent6b6f689718485507f2425bf8198bdf0c59cb1e98 (diff)
fix clang nonnull complaint
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_exe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index c7a676987c..dc6edefe6c 100644
--- a/src/lib/ecore/ecore_exe.c
+++ b/src/lib/ecore/ecore_exe.c
@@ -1626,7 +1626,7 @@ _ecore_exe_exec_it(const char *exe_cmd,
1626 return; 1626 return;
1627 } 1627 }
1628 errno = 0; 1628 errno = 0;
1629 execvp(args[0], args); 1629 if (args[0]) execvp(args[0], args);
1630 } 1630 }
1631 1631
1632 save_errno = errno; 1632 save_errno = errno;
@@ -1910,7 +1910,7 @@ _ecore_exe_dead_attach(Ecore_Exe *exe)
1910 if (dead) 1910 if (dead)
1911 { 1911 {
1912 dead->pid = exe->pid; 1912 dead->pid = exe->pid;
1913 dead->cmd = strdup(exe->cmd); 1913 if (exe->cmd) dead->cmd = strdup(exe->cmd);
1914 IF_FN_DEL(ecore_timer_del, exe->doomsday_clock); 1914 IF_FN_DEL(ecore_timer_del, exe->doomsday_clock);
1915 exe->doomsday_clock = 1915 exe->doomsday_clock =
1916 ecore_timer_add(10.0, _ecore_exe_make_sure_its_dead, dead); 1916 ecore_timer_add(10.0, _ecore_exe_make_sure_its_dead, dead);