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-10-17 12:59:23 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-10-17 12:59:23 +0400
commit7d10ad012d9307cc9db0f91111a14376790f1536 (patch)
treefff2c779e6201ed1780185c5c35e38e364df3d69 /source/creator
parent952b728578bc0ecea22b3659067775102c0eea55 (diff)
fix for bad use of UNUSED() with win32 & some other minor error checks.
Diffstat (limited to 'source/creator')
-rw-r--r--source/creator/creator.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c
index 912ae9f3d90..26835eb28da 100644
--- a/source/creator/creator.c
+++ b/source/creator/creator.c
@@ -422,11 +422,13 @@ static int without_borders(int UNUSED(argc), char **UNUSED(argv), void *UNUSED(d
return 0;
}
-static int register_extension(int UNUSED(argc), char **UNUSED(argv), void *UNUSED(data))
+static int register_extension(int UNUSED(argc), char **UNUSED(argv), void *data)
{
#ifdef WIN32
char *path = BLI_argsArgv(data)[0];
RegisterBlendExtension(path);
+#else
+ (void)data; /* unused */
#endif
return 0;