aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAlan Third2021-11-26 19:57:07 +0000
committerAlan Third2021-11-26 19:57:07 +0000
commit9721dcf2754ebad28ac60a9d3152fd26e4c652c4 (patch)
tree74843f770c0c7b83466f9b59e819e502aabec31a /src
parent11860f89a593a8cfe7efb94e86370bbbe4318fba (diff)
downloademacs-9721dcf2754ebad28ac60a9d3152fd26e4c652c4.tar.gz
emacs-9721dcf2754ebad28ac60a9d3152fd26e4c652c4.zip
Silence NS warnings
* src/nsterm.m ([EmacsView mouseDown:]): Move variables into the block where they're used.
Diffstat (limited to 'src')
-rw-r--r--src/nsterm.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nsterm.m b/src/nsterm.m
index 80117a41a56..747539eae64 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -6529,7 +6529,6 @@ not_in_argv (NSString *arg)
6529{ 6529{
6530 struct ns_display_info *dpyinfo = FRAME_DISPLAY_INFO (emacsframe); 6530 struct ns_display_info *dpyinfo = FRAME_DISPLAY_INFO (emacsframe);
6531 NSPoint p = [self convertPoint: [theEvent locationInWindow] fromView: nil]; 6531 NSPoint p = [self convertPoint: [theEvent locationInWindow] fromView: nil];
6532 int x = 0, y = 0;
6533 6532
6534 NSTRACE ("[EmacsView mouseDown:]"); 6533 NSTRACE ("[EmacsView mouseDown:]");
6535 6534
@@ -6561,6 +6560,7 @@ not_in_argv (NSString *arg)
6561 */ 6560 */
6562 bool horizontal; 6561 bool horizontal;
6563 int lines = 0; 6562 int lines = 0;
6563 int x = 0, y = 0;
6564 int scrollUp = NO; 6564 int scrollUp = NO;
6565 6565
6566 /* FIXME: At the top or bottom of the buffer we should 6566 /* FIXME: At the top or bottom of the buffer we should