diff options
author | Heiko Hund <heiko.hund@sophos.com> | 2012-02-17 09:39:35 +0100 |
---|---|---|
committer | David Sommerseth <davids@redhat.com> | 2012-02-17 11:03:44 +0100 |
commit | 21658881789f53d781fc7ce85c5da578abc6c413 (patch) | |
tree | 3fac183c7d4a0ea21f79847e266e76497b63ce93 | |
parent | 67fe36f888d72d2c9c2b8dac849159a229400367 (diff) | |
download | openvpn-21658881789f53d781fc7ce85c5da578abc6c413.tar.gz openvpn-21658881789f53d781fc7ce85c5da578abc6c413.tar.xz openvpn-21658881789f53d781fc7ce85c5da578abc6c413.zip |
move variable declaration to top of function
MSVC chokes on this as it's not according to C89.
Signed-off-by: Heiko Hund <heiko.hund@sophos.com>
Acked-by: David Sommerseth <davids@redhat.com>
Signed-off-by: David Sommerseth <davids@redhat.com>
-rw-r--r-- | buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |