xdisp.c (string_buffer_position): Remove unused variables.

This commit is contained in:
Eli Zaretskii 2010-09-29 05:11:58 -04:00
parent d585695f3a
commit 9a2ba07026

View file

@ -4646,7 +4646,6 @@ string_buffer_position_lim (struct window *w, Lisp_Object string,
EMACS_INT
string_buffer_position (struct window *w, Lisp_Object string, EMACS_INT around_charpos)
{
Lisp_Object limit, prop, pos;
const int MAX_DISTANCE = 1000;
EMACS_INT found = string_buffer_position_lim (w, string, around_charpos,
around_charpos + MAX_DISTANCE,