]> git.proxmox.com Git - libgit2.git/commit
Fix -Wunused-but-set-variable warnings
authorschu <schu-github@schulog.org>
Tue, 26 Apr 2011 09:29:05 +0000 (11:29 +0200)
committerschu <schu-github@schulog.org>
Tue, 26 Apr 2011 09:29:05 +0000 (11:29 +0200)
commit402a47a7fa3ab2b549c5183d1d5fc82d95f64663
tree5878576f4878e33f878a9942e46329a1fc029a36
parent7c37aa3ac5eecd0e725d0207c0507c4f6836c0eb
Fix -Wunused-but-set-variable warnings

As of gcc 4.6 -Wall includes -Wunused-but-set-variable. Use GIT_UNUSED
or remove actually unused variables to prevent those warnings.
src/refs.c
src/repository.c
src/revwalk.c
tests/t07-hashtable.c