From 66b9f7bdcfc120e61d01b6f93c9c03e5ed9d17aa Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Fri, 13 Nov 2015 10:56:28 +0100 Subject: [PATCH] * src/undo.c: Small fixes for previous change (run_undoable_change): Mark void argument list. (record_property_change): Remove unused variable `boundary'. --- src/undo.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/undo.c b/src/undo.c index 009ebc0f959..0a5da853dc0 100644 --- a/src/undo.c +++ b/src/undo.c @@ -35,7 +35,7 @@ static ptrdiff_t last_boundary_position; static Lisp_Object pending_boundary; void -run_undoable_change () +run_undoable_change (void) { call0 (Qundo_auto__undoable_change); } @@ -235,7 +235,6 @@ record_property_change (ptrdiff_t beg, ptrdiff_t length, { Lisp_Object lbeg, lend, entry; struct buffer *obuf = current_buffer, *buf = XBUFFER (buffer); - bool boundary = false; if (EQ (BVAR (buf, undo_list), Qt)) return; -- 2.39.2