[Bf-blender-cvs] [4a364b3caac] temp-sybren-usd-patch-02: USD: properly mark unused variable
Sybren A. Stüvel
noreply at git.blender.org
Wed Dec 11 16:36:57 CET 2019
Commit: 4a364b3caac9ca88c21b06813e3d230408c852ea
Author: Sybren A. Stüvel
Date: Wed Dec 11 13:02:44 2019 +0100
Branches: temp-sybren-usd-patch-02
https://developer.blender.org/rB4a364b3caac9ca88c21b06813e3d230408c852ea
USD: properly mark unused variable
===================================================================
M source/blender/editors/io/io_usd.c
===================================================================
diff --git a/source/blender/editors/io/io_usd.c b/source/blender/editors/io/io_usd.c
index e2c03b9f71a..94403e15df0 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -64,7 +64,7 @@ const EnumPropertyItem rna_enum_usd_export_evaluation_mode_items[] = {
* This is set when the operator is invoked, and not set when it is only executed. */
enum { AS_BACKGROUND_JOB = 1 };
-static int wm_usd_export_invoke(bContext *C, wmOperator *op, const wmEvent *event)
+static int wm_usd_export_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
{
/* Mark this operator call as 'invoked', so that it'll run as a background job. */
op->customdata = POINTER_FROM_INT(AS_BACKGROUND_JOB);
@@ -88,8 +88,6 @@ static int wm_usd_export_invoke(bContext *C, wmOperator *op, const wmEvent *even
WM_event_add_fileselect(C, op);
return OPERATOR_RUNNING_MODAL;
-
- UNUSED_VARS(event);
}
static int wm_usd_export_exec(bContext *C, wmOperator *op)
More information about the Bf-blender-cvs
mailing list