diff --git a/builtin-apply.c b/builtin-apply.c
index 89a5185cea0449fd4f5110bd6efbf5aebbf68b39..4cf819c7905d5997a6ce2a89b4ecce1176a4b045 100644 (file)
--- a/builtin-apply.c
+++ b/builtin-apply.c
static void build_fake_ancestor(struct patch *list, const char *filename)
{
struct patch *patch;
static void build_fake_ancestor(struct patch *list, const char *filename)
{
struct patch *patch;
- struct index_state result = { 0 };
+ struct index_state result = { NULL };
int fd;
/* Once we start supporting the reverse patch, it may be
int fd;
/* Once we start supporting the reverse patch, it may be