From: Philipp Stephani Date: Sat, 20 May 2017 14:47:11 +0000 (+0200) Subject: Remove trailing semicolons in method definitions X-Git-Tag: emacs-26.0.90~521^2~318 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f04e3d6e204142469f0e0df9309e246b12920b35;p=emacs.git 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. --- 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) - (void) setPixelAtX: (int)x Y: (int)y toRed: (unsigned char)r green: (unsigned char)g blue: (unsigned char)b - alpha:(unsigned char)a; + alpha:(unsigned char)a { if (bmRep == nil) 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, @implementation EmacsBell -- (id)init; +- (id)init { NSTRACE ("[EmacsBell init]"); if ((self = [super init])) @@ -6529,7 +6529,7 @@ not_in_argv (NSString *arg) return NO; } -- (void) updateFrameSize: (BOOL) delay; +- (void) updateFrameSize: (BOOL) delay { NSWindow *window = [self window]; NSRect wr = [window frame]; @@ -6847,7 +6847,7 @@ not_in_argv (NSString *arg) } -- (void)setFrame:(NSRect)frameRect; +- (void)setFrame:(NSRect)frameRect { NSTRACE ("[EmacsView setFrame:" NSTRACE_FMT_RECT "]", NSTRACE_ARG_RECT (frameRect));