Commit: d6e7ec6253acc1d271b74b96f0bc7f12f1f91fff
Author: Campbell Barton
Date:   Tue Apr 24 19:28:53 2018 +0200
Branches: blender2.8
https://developer.blender.org/rBd6e7ec6253acc1d271b74b96f0bc7f12f1f91fff

Cleanup: unused var

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

M       source/blender/editors/animation/anim_markers.c

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

diff --git a/source/blender/editors/animation/anim_markers.c 
b/source/blender/editors/animation/anim_markers.c
index 5d29b48aad6..091346921dc 100644
--- a/source/blender/editors/animation/anim_markers.c
+++ b/source/blender/editors/animation/anim_markers.c
@@ -336,7 +336,7 @@ void debug_markers_print_list(ListBase *markers)
 /* ************* Marker Drawing ************ */
 
 static void draw_marker_name(
-        View2D *v2d, const uiFontStyle *fstyle, TimeMarker *marker, const char 
*name,
+        const uiFontStyle *fstyle, TimeMarker *marker, const char *name,
         int cfra, const float xpos, const float ypixels)
 {
        unsigned char text_col[4];
@@ -447,14 +447,14 @@ static void draw_marker(
        /* and the marker name too, shifted slightly to the top-right */
 #ifdef DURIAN_CAMERA_SWITCH
        if (marker->camera) {
-               draw_marker_name(v2d, fstyle, marker, marker->camera->id.name + 
2, cfra, xpos, ypixels);
+               draw_marker_name(fstyle, marker, marker->camera->id.name + 2, 
cfra, xpos, ypixels);
        }
        else if (marker->name[0]) {
-               draw_marker_name(v2d, fstyle, marker, marker->name, cfra, xpos, 
ypixels);
+               draw_marker_name(fstyle, marker, marker->name, cfra, xpos, 
ypixels);
        }
 #else
        if (marker->name[0]) {
-               draw_marker_name(v2d, fstyle, marker, marker->name, cfra, xpos, 
ypixels);
+               draw_marker_name(fstyle, marker, marker->name, cfra, xpos, 
ypixels);
 
        }
 #endif

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to