diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-17 12:59:23 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-17 12:59:23 +0400 |
commit | 7d10ad012d9307cc9db0f91111a14376790f1536 (patch) | |
tree | fff2c779e6201ed1780185c5c35e38e364df3d69 /source/creator | |
parent | 952b728578bc0ecea22b3659067775102c0eea55 (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.c | 4 |
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; |