diff options
author | schu <schu-github@schulog.org> | 2011-04-26 11:29:05 +0200 |
---|---|---|
committer | schu <schu-github@schulog.org> | 2011-04-26 11:29:05 +0200 |
commit | 402a47a7fa3ab2b549c5183d1d5fc82d95f64663 (patch) | |
tree | 5878576f4878e33f878a9942e46329a1fc029a36 /tests/t07-hashtable.c | |
parent | 7c37aa3ac5eecd0e725d0207c0507c4f6836c0eb (diff) | |
download | libgit2-402a47a7fa3ab2b549c5183d1d5fc82d95f64663.tar.gz |
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.
Diffstat (limited to 'tests/t07-hashtable.c')
-rw-r--r-- | tests/t07-hashtable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/t07-hashtable.c b/tests/t07-hashtable.c index 597136965..0b362cafd 100644 --- a/tests/t07-hashtable.c +++ b/tests/t07-hashtable.c @@ -155,7 +155,7 @@ BEGIN_TEST(tableit0, "iterate through all the contents of the table") const int objects_n = 32; int i; table_item *objects, *ob; - const void *_unused; + const void *GIT_UNUSED(_unused); git_hashtable *table = NULL; |