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 - remove default_cursor.h include in SDL_mouse.c
Summary: remove default_cursor.h include in SDL_mouse.c
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: events (show other bugs)
Version: HG 2.0
Hardware: All All
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-17 23:25 UTC by Ozkan Sezer
Modified: 2017-08-18 00:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.)