aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhilipp Stephani2017-05-20 16:47:11 +0200
committerPhilipp Stephani2017-05-21 21:49:58 +0200
commitf04e3d6e204142469f0e0df9309e246b12920b35 (patch)
tree5e83c3cd62ba8ae1f64a236bbe6305e17d06fd72 /src
parentadd0b69445f65fe1792fe3ab5f8a8d35b997f728 (diff)
downloademacs-f04e3d6e204142469f0e0df9309e246b12920b35.tar.gz
emacs-f04e3d6e204142469f0e0df9309e246b12920b35.zip
Remove trailing semicolons in method definitions
These semicolons are ignored and cause compiler warnings. * src/nsimage.m (setPixelAtX:Y:toRed:green:blue:alpha:): * src/nsterm.m (init, updateFrameSize:): (setFrame:): Remove trailing semicolon.
Diffstat (limited to 'src')
-rw-r--r--src/nsimage.m2
-rw-r--r--src/nsterm.m6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nsimage.m b/src/nsimage.m
index 1c82fa780a0..fb2322afc30 100644
--- a/src/nsimage.m
+++ b/src/nsimage.m
@@ -386,7 +386,7 @@ ns_set_alpha (void *img, int x, int y, unsigned char a)
386 386
387- (void) setPixelAtX: (int)x Y: (int)y toRed: (unsigned char)r 387- (void) setPixelAtX: (int)x Y: (int)y toRed: (unsigned char)r
388 green: (unsigned char)g blue: (unsigned char)b 388 green: (unsigned char)g blue: (unsigned char)b
389 alpha:(unsigned char)a; 389 alpha:(unsigned char)a
390{ 390{
391 if (bmRep == nil) 391 if (bmRep == nil)
392 return; 392 return;
diff --git a/src/nsterm.m b/src/nsterm.m
index 50ce9398fbc..785147ae8d0 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -1317,7 +1317,7 @@ ns_clip_to_row (struct window *w, struct glyph_row *row,
1317 1317
1318@implementation EmacsBell 1318@implementation EmacsBell
1319 1319
1320- (id)init; 1320- (id)init
1321{ 1321{
1322 NSTRACE ("[EmacsBell init]"); 1322 NSTRACE ("[EmacsBell init]");
1323 if ((self = [super init])) 1323 if ((self = [super init]))
@@ -6529,7 +6529,7 @@ not_in_argv (NSString *arg)
6529 return NO; 6529 return NO;
6530} 6530}
6531 6531
6532- (void) updateFrameSize: (BOOL) delay; 6532- (void) updateFrameSize: (BOOL) delay
6533{ 6533{
6534 NSWindow *window = [self window]; 6534 NSWindow *window = [self window];
6535 NSRect wr = [window frame]; 6535 NSRect wr = [window frame];
@@ -6847,7 +6847,7 @@ not_in_argv (NSString *arg)
6847} 6847}
6848 6848
6849 6849
6850- (void)setFrame:(NSRect)frameRect; 6850- (void)setFrame:(NSRect)frameRect
6851{ 6851{
6852 NSTRACE ("[EmacsView setFrame:" NSTRACE_FMT_RECT "]", 6852 NSTRACE ("[EmacsView setFrame:" NSTRACE_FMT_RECT "]",
6853 NSTRACE_ARG_RECT (frameRect)); 6853 NSTRACE_ARG_RECT (frameRect));