We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 3759

Summary: remove default_cursor.h include in SDL_mouse.c
Product: SDL Reporter: Ozkan Sezer <sezeroz>
Component: eventsAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus
Version: HG 2.0   
Hardware: All   
OS: All   

Description Ozkan Sezer 2017-08-17 23:25:46 UTC
Commit 3e69e077cb95 (rev.4465 in May 2010) removed all use of data
from default_cursor.h in events/SDL_mouse.c: Gcc seems to silently
ignore it, but  it is unused now.

diff --git a/src/events/SDL_mouse.c b/src/events/SDL_mouse.c
--- a/src/events/SDL_mouse.c
+++ b/src/events/SDL_mouse.c
@@ -27,7 +27,6 @@
 #include "SDL_timer.h"
 #include "SDL_events.h"
 #include "SDL_events_c.h"
-#include "default_cursor.h"
 #include "../video/SDL_sysvideo.h"
 
 /* #define DEBUG_MOUSE */
Comment 1 Ryan C. Gordon 2017-08-18 00:49:58 UTC
This patch is now https://hg.libsdl.org/SDL/rev/14d04f0a4914, thanks!

(I forgot to mention this bug report or credit you in the commit, for which I apologize.)

--ryan.
Comment 2 Ryan C. Gordon 2017-08-18 00:53:51 UTC
(resolving.)