hey

On Tue, May 23, 2017 at 5:02 AM, brane212 <brane...@gmail.com> wrote:
> While finding my way throught git sources, I've stumbled across this in
> e_start_main.c, line 366, function _e_ptrace_attach:
>
>
>     (void)child;
>     (void)really_know;
>     (void)status;
>
>
> It's #ifdeffed-out of HAVE_SYS_PTRACE_H
>
> It's cast of three input variables (int,int,Eina_Bool) to void.
>
>
> I've googled around for significance of cast to (void), but found nothing.

it removes the unused argument warning of the compiler

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to