../src/log/log.c:32:2: error: 'size' may be used uninitialized in this function [-Werror=uninitialized]