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; #ifdef DMALLOC e = (struct gc_entry *) openvpn_dmalloc (file, line, size + sizeof (struct gc_entry)); #else -- 1.7.5.4