diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-03-14 14:44:38 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-03-14 14:44:38 -0700 |
commit | 2833c6431f1185c274341d9c8d26915c8d8506d5 (patch) | |
tree | 399e100a16e20b615bc295123c1b4f7c04623cdc | |
parent | 626d3d33cb1a0ff93f14f473be8b7a1d7d4eb5ee (diff) | |
download | git-ds/commit-graph.tar.gz |
SQUASH??? sparse fixesds/commit-graph
-rw-r--r-- | builtin/commit-graph.c | 2 | ||||
-rw-r--r-- | commit-graph.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/builtin/commit-graph.c b/builtin/commit-graph.c index 62ac26e444..855df66bd6 100644 --- a/builtin/commit-graph.c +++ b/builtin/commit-graph.c @@ -31,7 +31,7 @@ static struct opts_commit_graph { static int graph_read(int argc, const char **argv) { - struct commit_graph *graph = 0; + struct commit_graph *graph = NULL; char *graph_name; static struct option builtin_commit_graph_read_options[] = { diff --git a/commit-graph.c b/commit-graph.c index 6a4fb77b42..a3cd1e5450 100644 --- a/commit-graph.c +++ b/commit-graph.c @@ -182,7 +182,7 @@ cleanup_fail: } /* global storage */ -struct commit_graph *commit_graph = NULL; +static struct commit_graph *commit_graph = NULL; static void prepare_commit_graph_one(const char *obj_dir) { |