Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-11-24 23:13:37 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-11-24 23:13:37 +0300
commitc5f720794885521b1281f66df7504230d9618191 (patch)
tree12922c17241cc8c88763d3a8157284c911c6e680 /intern/guardedalloc/intern/mmap_win.c
parent6f71d575bfba933d4a2c4d7d1fbfb522c081b959 (diff)
fix for crash introduced r33257, also tag some vars as unused.
Diffstat (limited to 'intern/guardedalloc/intern/mmap_win.c')
-rw-r--r--intern/guardedalloc/intern/mmap_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/intern/guardedalloc/intern/mmap_win.c b/intern/guardedalloc/intern/mmap_win.c
index c09be8c24a8..3c4607d0d2a 100644
--- a/intern/guardedalloc/intern/mmap_win.c
+++ b/intern/guardedalloc/intern/mmap_win.c
@@ -86,7 +86,7 @@ volatile static struct mmapListBase *mmapbase = &_mmapbase;
/* --------------------------------------------------------------------- */
/* mmap for windows */
-void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset)
+void *mmap(void *UNUSED(start), size_t len, int prot, int flags, int fd, off_t offset)
{
HANDLE fhandle = INVALID_HANDLE_VALUE;
HANDLE maphandle;
@@ -151,7 +151,7 @@ void *mmap(void *start, size_t len, int prot, int flags, int fd, off_t offset)
}
/* munmap for windows */
-intptr_t munmap(void *ptr, intptr_t size)
+intptr_t munmap(void *ptr, intptr_t UNUSED(size))
{
MemMap *mm = mmap_findlink(mmapbase, ptr);
if (!mm) {