Re: [PATCH 1/2] graph.c: avoid compile warnings
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Mar 30, 2009, 16:14 UTC
- Message-ID
- <7v1vsff0n9.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <7vd4bzf1e5.fsf@gitster.siamese.dyndns.org>
Junio C Hamano <gitster@pobox.com> writes:
Show 13 quoted lines
>> diff --git a/graph.c b/graph.c
>> index 2929c8b..5e2f224 100644
>> --- a/graph.c
>> +++ b/graph.c
>> @@ -701,8 +701,8 @@ static void graph_output_pre_commit_line(struct git_graph *graph,
>> for (i = 0; i < graph->num_columns; i++) {
>> struct column *col = &graph->columns[i];
>> if (col->commit == graph->commit) {
>> - seen_this = 1;
>> struct strbuf tmp = STRBUF_INIT;
>> + seen_this = 1;
>
> Which codebase are you working on top of?Nevermind. I didn't realize it was "here are to help whipping your series into shape" meant for Allan.