]> git.proxmox.com Git - libgit2.git/commit
Clean up newly introduced warnings
authorRussell Belfer <rb@github.com>
Mon, 23 Sep 2013 20:34:01 +0000 (13:34 -0700)
committerRussell Belfer <rb@github.com>
Tue, 24 Sep 2013 04:41:43 +0000 (21:41 -0700)
commit1ca3e49f889a3732922e6f2b303dfe0d9f74300a
tree29df13c2e8cd2e63eb03a46c695b350f729fd1bc
parent10edb7a92a6d9b886f3dea083dba0aaba1851200
Clean up newly introduced warnings

The attempt to "clean up warnings" seems to have introduced some
new warnings on compliant compilers.  This fixes those in a way
that I suspect will also be okay for the non-compliant compilers.

Also this fixes what appears to be an extra semicolon in the
repo initialization template dir handling (and as part of that
fix, handles the case where an error occurs correctly).
include/git2/index.h
src/index.c
src/repository.c