[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: striconv typo

From: Bruno Haible
Subject: Re: striconv typo
Date: Tue, 12 Jan 2010 21:50:41 +0100
User-agent: KMail/1.9.9

Simon Josefsson wrote:
> I happened to run 'syntax-check' on some gnulib files, and notices this
> in lib/striconv.c:
>       if (result != NULL)
>         free (result);
> Bruno, do you object to removing the unnecessary if?

It is in a part of the code which is rarely executed, therefore the penalty
of an added function call does not matter. Therefore, no objection.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]