* alloc.c (PSEUDOVECTOR_NBYTES): Remove stray ';'
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 16:52:51 +0000 (09:52 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 4 Jul 2012 16:52:51 +0000 (09:52 -0700)
that causes compilation to fail on pre-C99 compilers.

src/ChangeLog
src/alloc.c

index ba9afdc..7f81f1e 100644 (file)
@@ -1,3 +1,8 @@
+2012-07-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * alloc.c (PSEUDOVECTOR_NBYTES): Remove stray ';'
+       that causes compilation to fail on pre-C99 compilers.
+
 2012-07-04  Juanma Barranquero <lekktu@gmail.com>
 
        * s/ms-w32.h (LISP_FLOAT_TYPE, HAVE_MEMCMP, HAVE_MEMCPY)
index bd68f2b..ed5d6b5 100644 (file)
@@ -3060,7 +3060,7 @@ allocate_vector_from_block (size_t nbytes)
 #define PSEUDOVECTOR_NBYTES(vector) \
   (PSEUDOVECTOR_TYPEP (&vector->header, PVEC_FREE)     \
    ? vector->header.size & PSEUDOVECTOR_SIZE_MASK      \
-   : vector->header.next.nbytes);
+   : vector->header.next.nbytes)
 
 /* Reclaim space used by unmarked vectors.  */