From 6e99b8eb03836b49e2aa5ba3d437f5e21128cc6b Mon Sep 17 00:00:00 2001 From: Martin Mares <mj@ucw.cz> Date: Tue, 14 Nov 2017 13:49:19 +0100 Subject: [PATCH] =?UTF-8?q?Access:=20Ukonej=C5=A1en=C3=AD=20warningu?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- access/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/access/access.c b/access/access.c index 3a589bc..1115241 100644 --- a/access/access.c +++ b/access/access.c @@ -67,7 +67,7 @@ static void alloc_mem(void) static void alloc_mem(void) { - void *pp; + void *pp = NULL; if (posix_memalign(&pp, 4096, block_size) < 0) { fprintf(stderr, "Cannot allocate memory: %m\n"); -- GitLab