[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master f04e3d6 07/13: Remove trailing semicolons in method
From: |
Philipp Stephani |
Subject: |
[Emacs-diffs] master f04e3d6 07/13: Remove trailing semicolons in method definitions |
Date: |
Sun, 21 May 2017 15:51:47 -0400 (EDT) |
branch: master
commit f04e3d6e204142469f0e0df9309e246b12920b35
Author: Philipp Stephani <address@hidden>
Commit: Philipp Stephani <address@hidden>
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.
---
src/nsimage.m | 2 +-
src/nsterm.m | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/nsimage.m b/src/nsimage.m
index 1c82fa7..fb2322a 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 50ce939..785147a 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));
- [Emacs-diffs] master updated (0821292 -> 6f1f882), Philipp Stephani, 2017/05/21
- [Emacs-diffs] master cf68bb4 02/13: Declare Nextstep unexec functions in lisp.h, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master cc6db8b 05/13: Make a function static that isn't used outside this file, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 0446a5a 04/13: Use NSCharacterCollection instead of CTCharacterCollection, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 6f1f882 13/13: Avoid uninitialized read, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master f04e3d6 07/13: Remove trailing semicolons in method definitions,
Philipp Stephani <=
- [Emacs-diffs] master 2d8215a 10/13: Remove unused automatic variables, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 74d4304 09/13: Nextstep: Replace deprecated enumerators, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 762be77 08/13: Nextstep: remove some deprecated method calls, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 6dd94bc 11/13: Clean up code around 'ns-list-services', Philipp Stephani, 2017/05/21
- [Emacs-diffs] master d79a4ea 03/13: Remove unused function print_regions, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master add0b69 06/13: Remove calls to deprecated setUsesScreenFonts, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master 84b28ec 01/13: Nextstep: Use instancetype explicit return type, Philipp Stephani, 2017/05/21
- [Emacs-diffs] master fa389f5 12/13: Fix call of registerServicesMenuSendTypes, Philipp Stephani, 2017/05/21