diff options
| author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-01-11 22:51:42 +0000 |
|---|---|---|
| committer | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2010-01-20 20:19:55 +0000 |
| commit | 1a7bae4d0f9d9314b905109b5b321219b7e6be3b (patch) | |
| tree | 81723c22eae0570f3774ac588b572636f34a7467 /src/fileops.h | |
| parent | e3fe32b6a4ecb340fa7c9802285711cc52b8a101 (diff) | |
| download | libgit2-1a7bae4d0f9d9314b905109b5b321219b7e6be3b.tar.gz | |
Fix some "unused parameter" warnings with -Wextra
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fileops.h b/src/fileops.h index b5cc24e62..c5c58a0da 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -13,13 +13,13 @@ #include <time.h> #ifdef GIT_WIN32 -GIT_INLINE(int) link(const char *old, const char *new) +GIT_INLINE(int) link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new)) { errno = ENOSYS; return -1; } -GIT_INLINE(int) git__mkdir(const char *path, int mode) +GIT_INLINE(int) git__mkdir(const char *path, int GIT_UNUSED(mode)) { return mkdir(path); } |
