]> git.proxmox.com Git - libgit2.git/commit
treebuilder: remove shadowing variable in `write_with_buffer`
authorPatrick Steinhardt <ps@pks.im>
Mon, 27 Mar 2017 11:14:05 +0000 (13:14 +0200)
committerPatrick Steinhardt <ps@pks.im>
Tue, 28 Mar 2017 06:39:29 +0000 (08:39 +0200)
commit8d1e71f5a24106bfeb4d6ff767708dd40e4a58dd
tree7b235491281ed76cba58eeb24a100f84bd970265
parent4f9327faf9aa5db034bf45d3aa9c23987742acb0
treebuilder: remove shadowing variable in `write_with_buffer`

The `git_tree_entry *entry` variable is defined twice inside of this
function. While this is not a problem currently, remove the shadowing
variable to avoid future confusion.
src/tree.c