Re: [PATCH 1/2] lib: Remove unnecessary checks when calling g_mime_init

Subject: Re: [PATCH 1/2] lib: Remove unnecessary checks when calling g_mime_init

Date: Fri, 30 Dec 2011 22:55:59 -0400

To: Kazuo Teramoto, notmuch@notmuchmail.org

Cc:

From: David Bremner


On Fri, 30 Dec 2011 19:58:09 -0200, Kazuo Teramoto <kaz.rag@gmail.com> wrote:
> g_mime_init already check for multiple initializations.
> ---
>  lib/index.cc       |    4 ----
>  lib/message-file.c |    4 ----
>  2 files changed, 0 insertions(+), 8 deletions(-)

Is this needed to fix the bug? It seems less futureproof to rely on
gmime to check for double initialization if we don't have to.

d

Thread: