[Bf-blender-cvs] [ba3c642f77a] tmp_mak_091222: USD IO: fixed warnings.

Michael Kowalski noreply at git.blender.org
Mon Sep 12 20:24:55 CEST 2022


Commit: ba3c642f77a46dc7dcfaa77ee1cf95d1e80fc6bf
Author: Michael Kowalski
Date:   Mon Sep 12 14:23:54 2022 -0400
Branches: tmp_mak_091222
https://developer.blender.org/rBba3c642f77a46dc7dcfaa77ee1cf95d1e80fc6bf

USD IO: fixed warnings.

===================================================================

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 534ba813743..eb80cabcd7f 100644
--- a/source/blender/editors/io/io_usd.c
+++ b/source/blender/editors/io/io_usd.c
@@ -199,7 +199,7 @@ static void free_operator_customdata(wmOperator *op)
   }
 }
 
-static void wm_usd_export_cancel(bContext *C, wmOperator *op, const wmEvent *event)
+static void wm_usd_export_cancel(bContext *UNUSED(C), wmOperator *op)
 {
   free_operator_customdata(op);
 }
@@ -436,7 +436,7 @@ static int wm_usd_import_exec(bContext *C, wmOperator *op)
   return as_background_job || ok ? OPERATOR_FINISHED : OPERATOR_CANCELLED;
 }
 
-static void wm_usd_import_cancel(bContext *C, wmOperator *op, const wmEvent *event)
+static void wm_usd_import_cancel(bContext *UNUSED(C), wmOperator *op)
 {
   free_operator_customdata(op);
 }



More information about the Bf-blender-cvs mailing list