From: Paul Eggert Date: Mon, 11 Apr 2011 06:15:21 +0000 (-0700) Subject: * buffer.c (buffer_count): Remove unused var. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~347 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c358e587580fbd9deb39b3ddde9383611529c2a6;p=emacs.git * buffer.c (buffer_count): Remove unused var. --- diff --git a/src/ChangeLog b/src/ChangeLog index f2abbc8ed5c..01602b1516b 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-11 Paul Eggert + * buffer.c (buffer_count): Remove unused var. + * bidi.c (bidi_dump_cached_states): Mark as externally visible, so that it's not optimized away. (bidi_ignore_explicit_marks_for_paragraph_level): Likewise. diff --git a/src/buffer.c b/src/buffer.c index 82913ac20e7..4e690f42934 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -294,9 +294,6 @@ get_truename_buffer (register Lisp_Object filename) return Qnil; } -/* Incremented for each buffer created, to assign the buffer number. */ -int buffer_count; - DEFUE ("get-buffer-create", Fget_buffer_create, Sget_buffer_create, 1, 1, 0, doc: /* Return the buffer specified by BUFFER-OR-NAME, creating a new one if needed. If BUFFER-OR-NAME is a string and a live buffer with that name exists,