summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-01-12 16:39:25 +0000
committerRamsay Jones <ramsay@ramsay1.demon.co.uk>2010-01-20 20:22:10 +0000
commit73dcf2876fecab9adba9ec9bc148ccbab431af12 (patch)
tree904c0ac12b23548de524adae712241b423d765a3 /src/fileops.h
parente8a952561c4e59ca308d1973de46fc32ad91a022 (diff)
downloadlibgit2-73dcf2876fecab9adba9ec9bc148ccbab431af12.tar.gz
msvc: Fix some "unreferenced formal parameter" warnings
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index c5c58a0da..53495ca95 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -15,12 +15,15 @@
#ifdef GIT_WIN32
GIT_INLINE(int) link(const char *GIT_UNUSED(old), const char *GIT_UNUSED(new))
{
+ GIT_UNUSED_ARG(old)
+ GIT_UNUSED_ARG(new)
errno = ENOSYS;
return -1;
}
GIT_INLINE(int) git__mkdir(const char *path, int GIT_UNUSED(mode))
{
+ GIT_UNUSED_ARG(mode)
return mkdir(path);
}