[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 677367ae65: Satisfy GCC warnings on the GNUstep build
From: |
Po Lu |
Subject: |
master 677367ae65: Satisfy GCC warnings on the GNUstep build |
Date: |
Thu, 9 Jun 2022 04:48:32 -0400 (EDT) |
branch: master
commit 677367ae655151572561219ac99c4226cb1de207
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
Satisfy GCC warnings on the GNUstep build
* src/nsfns.m (ns_move_tooltip_to_mouse_location):
* src/nsterm.m ([EmacsWindow draggedImage:movedTo:]): Pacify GCC.
---
src/nsfns.m | 2 ++
src/nsterm.m | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/nsfns.m b/src/nsfns.m
index d4cf4f5ffa..add4883e1f 100644
--- a/src/nsfns.m
+++ b/src/nsfns.m
@@ -3808,6 +3808,8 @@ ns_move_tooltip_to_mouse_location (NSPoint screen_point)
NSWindow *window;
struct frame *tip_f;
+ window = nil;
+
if (!FIXNUMP (tip_dx) || !FIXNUMP (tip_dy))
return;
diff --git a/src/nsterm.m b/src/nsterm.m
index b0eb86bfb0..3b2830e73d 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -9660,9 +9660,9 @@ nswindow_orderedIndex_sort (id w1, id w2, void *c)
[NSException raise: @""
format: @"Must return DND frame"];
}
-#endif
out:
+#endif
if (dnd_move_tooltip_with_frame)
ns_move_tooltip_to_mouse_location (mouse_loc);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 677367ae65: Satisfy GCC warnings on the GNUstep build,
Po Lu <=