summaryrefslogtreecommitdiff
path: root/src/undo.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2015-11-13 10:56:28 +0100
committerEli Zaretskii <eliz@gnu.org>2015-11-13 22:00:11 +0200
commitd6b046c9921aa55207f60509f68ecde0e9ae0493 (patch)
tree06c13099e3c3d98bec71cc67baac7234eba25d6c /src/undo.c
parenta95781eaa25e2ab9f7f9f0b5af22539ca3f64503 (diff)
downloademacs-d6b046c9921aa55207f60509f68ecde0e9ae0493.tar.gz
* src/undo.c: Small fixes for previous change
(run_undoable_change): Mark void argument list. (record_property_change): Remove unused variable `boundary'. Backport.
Diffstat (limited to 'src/undo.c')
-rw-r--r--src/undo.c3
1 files changed, 1 insertions, 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;