raster pushed a commit to branch master.
commit 8d324a5d3d78e3a0e89f82c06f93ecd9a24acde8
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date: Tue Jul 16 17:07:11 2013 +0900
fix clang nonnull complaint
---
src/lib/ecore/ecore_exe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/ecore/ecore_exe.c b/src/lib/ecore/ecore_exe.c
index c7a6769..dc6edef 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,
return;
}
errno = 0;
- execvp(args[0], args);
+ if (args[0]) execvp(args[0], args);
}
save_errno = errno;
@@ -1910,7 +1910,7 @@ _ecore_exe_dead_attach(Ecore_Exe *exe)
if (dead)
{
dead->pid = exe->pid;
- dead->cmd = strdup(exe->cmd);
+ if (exe->cmd) dead->cmd = strdup(exe->cmd);
IF_FN_DEL(ecore_timer_del, exe->doomsday_clock);
exe->doomsday_clock =
ecore_timer_add(10.0, _ecore_exe_make_sure_its_dead, dead);
--
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk