[collectd] [PATCH 2/2] Add missing return statements, unify pthread_exit usage.

Sebastian Harl sh at tokkee.org
Tue Sep 4 09:25:21 CEST 2012


Hi,

On Sun, Sep 02, 2012 at 11:54:35PM +0200, Benjamin Jacobs wrote:
> -	pthread_exit (NULL);
> -	return NULL;
> +	pthread_exit ((void *) 0);
> +	return ((void *) 0);

What's the motivation for doing that (in a couple of places)?

Cheers,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120904/3e9a85ba/attachment.pgp>


More information about the collectd mailing list