Hi,

On Fri, Feb 17, 2012 at 09:39:35AM +0100, Heiko Hund wrote:
> MSVC chokes on this as it's not according to C89.
> 
> Signed-off-by: Heiko Hund <heiko.h...@sophos.com>
> ---
>  buffer.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/buffer.c b/buffer.c
> index 6800e6e..391085b 100644
> --- a/buffer.c
> +++ b/buffer.c
> @@ -321,9 +321,9 @@ gc_malloc (size_t size, bool clear, struct gc_arena *a)
>  #endif
>  {
>    void *ret;
> +  struct gc_entry *e;
>    ASSERT (NULL != a);
>  
> -  struct gc_entry *e;

Ack.  This has bitten me as well :)

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             g...@greenie.muc.de
fax: +49-89-35655025                        g...@net.informatik.tu-muenchen.de

Attachment: pgpWNZtzPrVnO.pgp
Description: PGP signature

Reply via email to