pack-objects: rename 'this' variables
Rename C++ keyword in order to bring the codebase closer to being able to be compiled with a C++ compiler. Signed-off-by: Brandon Williams <bmwill@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
abeacb25b4
commit
095b3b2c04
@ -1376,10 +1376,10 @@ static void cleanup_preferred_base(void)
|
|||||||
it = pbase_tree;
|
it = pbase_tree;
|
||||||
pbase_tree = NULL;
|
pbase_tree = NULL;
|
||||||
while (it) {
|
while (it) {
|
||||||
struct pbase_tree *this = it;
|
struct pbase_tree *tmp = it;
|
||||||
it = this->next;
|
it = tmp->next;
|
||||||
free(this->pcache.tree_data);
|
free(tmp->pcache.tree_data);
|
||||||
free(this);
|
free(tmp);
|
||||||
}
|
}
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(pbase_tree_cache); i++) {
|
for (i = 0; i < ARRAY_SIZE(pbase_tree_cache); i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user