-----BEGIN PGP SIGNED MESSAGE-----
On 09/16/2009 05:16 PM, Stephen Gallagher wrote:
If you're memsetting handle, then you don't need to also
handle->async_ctx (or any of the other pointers) to NULL.
If Valgrind is later complaining that testing for NULL is an unitialized
jump or move, that's a bug in Valgrind.
I know and my personal preference would be to just use calloc or memset
and not enumerate the structure members. However, I'm fixing existing
code which I'm not author of, so I felt I'd better adhere to the
standards in the existing code.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----