Commit 84d5633
shorten_unambiguous_ref(): introduce a new local variable
When filling the scanf_fmts array, use a separate variable to keep
track of the offset to avoid clobbering total_len (which we will need
in the next commit).
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent c90d3db commit 84d5633
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3367 | 3367 | | |
3368 | 3368 | | |
3369 | 3369 | | |
| 3370 | + | |
3370 | 3371 | | |
3371 | 3372 | | |
3372 | 3373 | | |
| |||
3375 | 3376 | | |
3376 | 3377 | | |
3377 | 3378 | | |
3378 | | - | |
| 3379 | + | |
3379 | 3380 | | |
3380 | | - | |
3381 | | - | |
| 3381 | + | |
3382 | 3382 | | |
3383 | | - | |
| 3383 | + | |
3384 | 3384 | | |
3385 | 3385 | | |
3386 | 3386 | | |
| |||
0 commit comments