Re: [PATCH] notes: Initialize variable to appease Sun Studio

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Ævar Arnfjörð Bjarmason
Date: Saturday, June 19, 2010 - 4:58 am

On Sat, Jun 19, 2010 at 04:52, Junio C Hamano <gitster@pobox.com> wrote:

I just noticed it when testing on Solaris, I don't use it regularly.

IIRC pretty much exactly the same changes were proposed for
compatibility with HP/UX a while back, and looking through the source
it seems a lot of things initialize struct pointers to NULL. Although
I haven't found any examples yet where they strictly didn't have to.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] notes: Initialize variable to appease Sun Studio, =?UTF-8?q?=C3=86var= ..., (Mon Jun 14, 4:40 pm)
Re: [PATCH] notes: Initialize variable to appease Sun Studio, Ævar Arnfjörð Bjarmason, (Sat Jun 19, 4:58 am)