forked from enlightenment/enlightenment
e-start: Fix 'control reaches end of non-void function'
Summary: Seems one of the Daniels did not check their compiler output ;) _e_ptrace_attach function should return an integer value... @fix Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
ef82c30bb4
commit
c7386d61c9
|
@ -323,9 +323,9 @@ _sig_remember(siginfo_t sig, Eina_Bool *susr1, Eina_Bool *sill)
|
||||||
static int
|
static int
|
||||||
_e_ptrace_attach(int child, int *status, Eina_Bool really_know)
|
_e_ptrace_attach(int child, int *status, Eina_Bool really_know)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_SYS_PTRACE_H
|
|
||||||
int result = 0;
|
int result = 0;
|
||||||
|
|
||||||
|
#ifdef HAVE_SYS_PTRACE_H
|
||||||
if (really_know)
|
if (really_know)
|
||||||
return waitpid(child, status, 0);
|
return waitpid(child, status, 0);
|
||||||
|
|
||||||
|
@ -338,8 +338,9 @@ _e_ptrace_attach(int child, int *status, Eina_Bool really_know)
|
||||||
(void)child;
|
(void)child;
|
||||||
(void)really_know;
|
(void)really_know;
|
||||||
(void)status;
|
(void)status;
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue