Removed unused variable
diff --git a/src/video/cocoa/SDL_cocoawindow.m b/src/video/cocoa/SDL_cocoawindow.m
index 655bf05..63a8b76 100644
--- a/src/video/cocoa/SDL_cocoawindow.m
+++ b/src/video/cocoa/SDL_cocoawindow.m
@@ -935,8 +935,6 @@ Cocoa_UpdateClipCursor(SDL_Window * window)
- (void)windowDidEnterFullScreen:(NSNotification *)aNotification
{
SDL_Window *window = _data.window;
- SDL_WindowData *data = (__bridge SDL_WindowData *) window->driverdata;
- NSWindow *nswindow = data.nswindow;
inFullscreenTransition = NO;