Re: strbuf new API, take 2 for inclusion
- From
Jeff King <peff@peff.net>
- Date
- Sep 6, 2007, 12:58 UTC
- Message-ID
- <20070906125811.GA32400@coredump.intra.peff.net>
- In-Reply-To
- <11890776114037-git-send-email-madcoder@debian.org>
On Thu, Sep 06, 2007 at 01:20:04PM +0200, Pierre Habouzit wrote:
> I've also stripped as many STRBUF_INIT uses as possible, some people > didn't liked it. I've kept its use for "static" strbufs where it's way > more convenient that a function call.
The STRBUF_INIT initializer just sets everything to '0' or NULL. Static objects already have this done automagically by the compiler, so there's no need to use STRBUF_INIT at all there.
-Peff