[Bf-blender-cvs] [752a9b743e9] master: USD IO: fixed compiler warnings

Michael Kowalski noreply at git.blender.org
Mon Sep 12 21:49:28 CEST 2022


Commit: 752a9b743e9703e674b28e0bc041a43011147676
Author: Michael Kowalski
Date:   Mon Sep 12 15:47:45 2022 -0400
Branches: master
https://developer.blender.org/rB752a9b743e9703e674b28e0bc041a43011147676

USD IO: fixed compiler 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