Fix compiler warning in HA plugin
authorMartin Willi <martin@revosec.ch>
Tue, 19 Mar 2013 14:16:06 +0000 (15:16 +0100)
committerMartin Willi <martin@revosec.ch>
Tue, 19 Mar 2013 14:48:27 +0000 (15:48 +0100)
src/libcharon/plugins/ha/ha_attribute.c

index 981def6..d26c383 100644 (file)
@@ -174,7 +174,7 @@ METHOD(attribute_provider_t, acquire_address, host_t*,
        host_t *requested)
 {
        enumerator_t *enumerator;
-       pool_t *pool;
+       pool_t *pool = NULL;
        int offset = -1, byte, bit;
        host_t *address;
        char *name;