diff options
| author | Russell Belfer <arrbee@arrbee.com> | 2012-01-24 14:06:42 -0800 |
|---|---|---|
| committer | Russell Belfer <arrbee@arrbee.com> | 2012-03-02 15:49:28 -0800 |
| commit | 2705576bfa90675433be49a4141cfdd867e380cc (patch) | |
| tree | af4f390de70585a426df45b7e92a141b9d08227e /tests-clar | |
| parent | 3a5ad90a0de4408c2754763fe1ced0da984bae6e (diff) | |
| download | libgit2-2705576bfa90675433be49a4141cfdd867e380cc.tar.gz | |
Simplify GIT_UNUSED macros
Since casting to void works to eliminate errors with unused
parameters on all platforms, avoid the various special cases.
Over time, it will make sense to eliminate the GIT_UNUSED
macro completely and just have GIT_UNUSED_ARG.
Diffstat (limited to 'tests-clar')
| -rw-r--r-- | tests-clar/core/dirent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests-clar/core/dirent.c b/tests-clar/core/dirent.c index edd04471e..782370969 100644 --- a/tests-clar/core/dirent.c +++ b/tests-clar/core/dirent.c @@ -90,8 +90,8 @@ static int one_entry(void *state, git_buf *path) static int dont_call_me(void *GIT_UNUSED(state), git_buf *GIT_UNUSED(path)) { - GIT_UNUSED_ARG(state) - GIT_UNUSED_ARG(path) + GIT_UNUSED_ARG(state); + GIT_UNUSED_ARG(path); return GIT_ERROR; } |
