diff options
author | Sergey Sharybin <sergey@blender.org> | 2022-01-10 19:16:58 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey@blender.org> | 2022-01-10 19:17:31 +0300 |
commit | af6a30ebf1ef2bc337261f8413d1d485b7db46d3 (patch) | |
tree | 2cbfdd3f23548b8bc6b68ecfc9d75c0a7f8a47e0 /source/blender/makesrna/intern | |
parent | b0a83a6ed496372a1508f43b3990687a29a4975f (diff) |
Fix compilation error after recent fix
For some reason GCC accepted C++-style of unused variable marking.
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/rna_render.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/intern/rna_render.c b/source/blender/makesrna/intern/rna_render.c index 28dcad4444d..65e9a140f82 100644 --- a/source/blender/makesrna/intern/rna_render.c +++ b/source/blender/makesrna/intern/rna_render.c @@ -421,12 +421,12 @@ static StructRNA *rna_RenderEngine_refine(PointerRNA *ptr) &RNA_RenderEngine; } -static void rna_RenderEngine_tempdir_get(PointerRNA * /*ptr*/, char *value) +static void rna_RenderEngine_tempdir_get(PointerRNA *UNUSED(ptr), char *value) { BLI_strncpy(value, BKE_tempdir_session(), FILE_MAX); } -static int rna_RenderEngine_tempdir_length(PointerRNA * /*ptr*/) +static int rna_RenderEngine_tempdir_length(PointerRNA *UNUSED(ptr)) { return strlen(BKE_tempdir_session()); } |