builtin/clean.c: Use STRING_LIST_INIT_NODUP.
Signed-off-by: Thiago Farina <tfransosi@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Thiago Farina committed
Sep 6, 2010 at 20:32 UTC
bdab6a59cf078a3cf50d36afa439814f7eb96f3e
1 file changed
+1
-1
builtin/clean.c
+1
-1
@@ -44,7 +44,7 @@ int cmd_clean(int argc, const char **argv, const char *prefix)
44
struct dir_struct dir;
45
static const char **pathspec;
46
struct strbuf buf = STRBUF_INIT;
47
- struct string_list exclude_list = { NULL, 0, 0, 0 };
47
+ struct string_list exclude_list = STRING_LIST_INIT_NODUP;
48
const char *qname;
49
char *seen = NULL;
50
struct option options[] = {