Fix compiler warning on macOS: remove unused variable

This commit is contained in:
Albrecht Schlosser 2024-06-21 18:08:49 +02:00
parent a053b42445
commit 97bab9abbd

View File

@ -1056,7 +1056,6 @@ static void cocoaMouseHandler(NSEvent *theEvent)
fl_unlock_function();
return;
}
Fl_Window *first = Fl::first_window();
NSPoint pos = [theEvent locationInWindow];
float s = Fl::screen_driver()->scale(0);
pos.x /= s; pos.y /= s;