summaryrefslogtreecommitdiff
path: root/src/indent.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/indent.c')
-rw-r--r--src/indent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/indent.c b/src/indent.c
index b4e6d745499..7e8f0a573a3 100644
--- a/src/indent.c
+++ b/src/indent.c
@@ -1984,7 +1984,6 @@ whether or not it is currently displayed in some window. */)
struct window *w;
Lisp_Object old_buffer;
EMACS_INT old_charpos IF_LINT (= 0), old_bytepos IF_LINT (= 0);
- struct gcpro gcpro1;
Lisp_Object lcols;
void *itdata = NULL;
@@ -2000,7 +1999,6 @@ whether or not it is currently displayed in some window. */)
w = decode_live_window (window);
old_buffer = Qnil;
- GCPRO1 (old_buffer);
if (XBUFFER (w->contents) != current_buffer)
{
/* Set the window's buffer temporarily to the current buffer. */
@@ -2210,7 +2208,7 @@ whether or not it is currently displayed in some window. */)
old_charpos, old_bytepos);
}
- RETURN_UNGCPRO (make_number (it.vpos));
+ return make_number (it.vpos);
}