From: Thiago Farina Date: Mon, 6 Sep 2010 23:32:55 +0000 (-0300) Subject: builtin/clean.c: Use STRING_LIST_INIT_NODUP. X-Git-Url: http://pileus.org/git/?a=commitdiff_plain;h=bdab6a59cf078a3cf50d36afa439814f7eb96f3e;p=~andy%2Fgit builtin/clean.c: Use STRING_LIST_INIT_NODUP. Signed-off-by: Thiago Farina Signed-off-by: Junio C Hamano --- diff --git a/builtin/clean.c b/builtin/clean.c index b508d2cab..c8798f549 100644 --- a/builtin/clean.c +++ b/builtin/clean.c @@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix) struct dir_struct dir; static const char **pathspec; struct strbuf buf = STRBUF_INIT; - struct string_list exclude_list = { NULL, 0, 0, 0 }; + struct string_list exclude_list = STRING_LIST_INIT_NODUP; const char *qname; char *seen = NULL; struct option options[] = {