diff options
| author | Po Lu | 2022-06-09 16:48:17 +0800 |
|---|---|---|
| committer | Po Lu | 2022-06-09 16:48:17 +0800 |
| commit | 677367ae655151572561219ac99c4226cb1de207 (patch) | |
| tree | 21d65eee13e9024b5ef6f40b6f42f97135370861 /src | |
| parent | dd8db560c25958f8e3ab9c46d6df560fce7c0a88 (diff) | |
| download | emacs-677367ae655151572561219ac99c4226cb1de207.tar.gz emacs-677367ae655151572561219ac99c4226cb1de207.zip | |
Satisfy GCC warnings on the GNUstep build
* src/nsfns.m (ns_move_tooltip_to_mouse_location):
* src/nsterm.m ([EmacsWindow draggedImage:movedTo:]): Pacify GCC.
Diffstat (limited to 'src')
| -rw-r--r-- | src/nsfns.m | 2 | ||||
| -rw-r--r-- | src/nsterm.m | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/nsfns.m b/src/nsfns.m index d4cf4f5ffae..add4883e1fd 100644 --- a/src/nsfns.m +++ b/src/nsfns.m | |||
| @@ -3808,6 +3808,8 @@ ns_move_tooltip_to_mouse_location (NSPoint screen_point) | |||
| 3808 | NSWindow *window; | 3808 | NSWindow *window; |
| 3809 | struct frame *tip_f; | 3809 | struct frame *tip_f; |
| 3810 | 3810 | ||
| 3811 | window = nil; | ||
| 3812 | |||
| 3811 | if (!FIXNUMP (tip_dx) || !FIXNUMP (tip_dy)) | 3813 | if (!FIXNUMP (tip_dx) || !FIXNUMP (tip_dy)) |
| 3812 | return; | 3814 | return; |
| 3813 | 3815 | ||
diff --git a/src/nsterm.m b/src/nsterm.m index b0eb86bfb09..3b2830e73d6 100644 --- a/src/nsterm.m +++ b/src/nsterm.m | |||
| @@ -9660,9 +9660,9 @@ nswindow_orderedIndex_sort (id w1, id w2, void *c) | |||
| 9660 | [NSException raise: @"" | 9660 | [NSException raise: @"" |
| 9661 | format: @"Must return DND frame"]; | 9661 | format: @"Must return DND frame"]; |
| 9662 | } | 9662 | } |
| 9663 | #endif | ||
| 9664 | 9663 | ||
| 9665 | out: | 9664 | out: |
| 9665 | #endif | ||
| 9666 | 9666 | ||
| 9667 | if (dnd_move_tooltip_with_frame) | 9667 | if (dnd_move_tooltip_with_frame) |
| 9668 | ns_move_tooltip_to_mouse_location (mouse_loc); | 9668 | ns_move_tooltip_to_mouse_location (mouse_loc); |