[Bf-blender-cvs] [562005d0a97] temp_macos_coalesced_tablet: Reduce scope of wm_event_free_last.

Nicholas Rishel noreply at git.blender.org
Sun Nov 15 02:17:53 CET 2020


Commit: 562005d0a97baf8e1172df0dda739f95e43587b8
Author: Nicholas Rishel
Date:   Sat Nov 14 16:48:50 2020 -0800
Branches: temp_macos_coalesced_tablet
https://developer.blender.org/rB562005d0a97baf8e1172df0dda739f95e43587b8

Reduce scope of wm_event_free_last.

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

M	source/blender/windowmanager/intern/wm_event_system.c

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

diff --git a/source/blender/windowmanager/intern/wm_event_system.c b/source/blender/windowmanager/intern/wm_event_system.c
index ebf068cbb07..1aaefeabd08 100644
--- a/source/blender/windowmanager/intern/wm_event_system.c
+++ b/source/blender/windowmanager/intern/wm_event_system.c
@@ -180,7 +180,7 @@ void wm_event_free(wmEvent *event)
   MEM_freeN(event);
 }
 
-void wm_event_free_last(wmWindow *win)
+static void wm_event_free_last(wmWindow *win)
 {
   wmEvent *event = BLI_poptail(&win->queue);
   if (event != NULL) {



More information about the Bf-blender-cvs mailing list