Patch: fix ath_mutex_destroy

Marcus Brinkmann marcus.brinkmann at
Wed Jul 12 21:04:00 CEST 2006

At Mon, 10 Jul 2006 10:16:55 +0200 (CEST),
haypo at wrote:
> As Marcus Brinkmann asked, here is the patch against ath_mutex_destroy().

I put in a slightly different change.  Here are a couple of
suggestions: Keep the coding style according to the surrounding code
(or use the GNU coding standard, which is the same in this case).  Do
not make gratuitous style changes.  In this case, the admittedly
awkward layout of the user-specific path vs the generic path is
consistent across the file.  It is helpful if you submit a changelog
entry as well.


2006-07-12  Marcus Brinkmann  <marcus at>

	* ath.c (ath_mutex_destroy): Microoptimize destruction of unused
	statitically initialized mutexes.  Suggested by Victor Stinner
	<haypo at>.

More information about the Gcrypt-devel mailing list