Commit 7a418eed authored by Hanspeter Portner's avatar Hanspeter Portner

fix possible uninitialized value.

parent fbcd3f29
......@@ -134,7 +134,7 @@ varchunk_init(varchunk_t *varchunk, size_t body_size, bool release_and_acquire)
static inline varchunk_t *
varchunk_new(size_t minimum, bool release_and_acquire)
varchunk_t *varchunk;
varchunk_t *varchunk = NULL;
const size_t body_size = varchunk_body_size(minimum);
const size_t total_size = sizeof(varchunk_t) + body_size;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment