diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-06-21 18:08:49 +0200 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2024-06-21 18:08:49 +0200 |
| commit | 97bab9abbd85d8928330b3e1db9ebb31fe83f226 (patch) | |
| tree | ee843ed5034c649d31afc766e102cea1a7810c9d /src/Fl_cocoa.mm | |
| parent | a053b424458a7c1d7762e7d8f43d22042cc0d7d0 (diff) | |
Fix compiler warning on macOS: remove unused variable
Diffstat (limited to 'src/Fl_cocoa.mm')
| -rw-r--r-- | src/Fl_cocoa.mm | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Fl_cocoa.mm b/src/Fl_cocoa.mm index 89262361c..f0a0f7956 100644 --- a/src/Fl_cocoa.mm +++ b/src/Fl_cocoa.mm @@ -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; |
