[Bf-blender-cvs] [7d2a67f2581] master: Cleanup: Fix clang tidy inconsistent parameter warning

Hans Goudey noreply at git.blender.org
Sun Sep 20 05:38:45 CEST 2020


Commit: 7d2a67f25818f76800d508d55dcac7c4055cf774
Author: Hans Goudey
Date:   Sat Sep 19 22:38:36 2020 -0500
Branches: master
https://developer.blender.org/rB7d2a67f25818f76800d508d55dcac7c4055cf774

Cleanup: Fix clang tidy inconsistent parameter warning

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

M	source/blender/editors/interface/interface_panel.c

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

diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index a2b9f388759..483e8f8c7c9 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -118,7 +118,7 @@ typedef struct PanelSort {
 
 static int get_panel_real_size_y(const Panel *panel);
 static void panel_activate_state(const bContext *C, Panel *panel, uiHandlePanelState state);
-static int compare_panel(const void *a1, const void *a2);
+static int compare_panel(const void *a, const void *b);
 static bool panel_type_context_poll(ARegion *region,
                                     const PanelType *panel_type,
                                     const char *context);



More information about the Bf-blender-cvs mailing list