Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer
authorBrandon Casey <casey@nrlssc.navy.mil>
Thu, 9 Oct 2008 19:12:12 +0000 (14:12 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 12 Oct 2008 19:36:19 +0000 (12:36 -0700)
Many call sites use strbuf_init(&foo, 0) to initialize local
strbuf variable "foo" which has not been accessed since its
declaration. These can be replaced with a static initialization
using the STRBUF_INIT macro which is just as readable, saves a
function call, and takes up fewer lines.

Signed-off-by: Brandon Casey <casey@nrlssc.navy.mil>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
No differences found