]> git.proxmox.com Git - libgit2.git/commit - src/submodule.c
Fix uninitialized variable
authorSascha Cunz <Sascha@BabbelBox.org>
Wed, 28 Nov 2012 11:43:12 +0000 (12:43 +0100)
committerSascha Cunz <Sascha@BabbelBox.org>
Wed, 28 Nov 2012 11:43:12 +0000 (12:43 +0100)
commit7cdad6c77425348364d9c10582b1b779dd7c1ade
treee72f3b078fd6f78695fcc86fe8d8b7368a55f988
parentae2018917046da49f5926a3056360246d5abead2
Fix uninitialized variable

clang-SVN HEAD kindly provided my the info, that sm_repo maybe
uninitialized when we want to free it (If the expression in line 358 or
359/360 evaluate to true, we jump to "cleanup", where we'd use sm_repo
uninitialized).
src/submodule.c