From d9c4492fd9581ef5b804269f0e48a628173f22c4 Mon Sep 17 00:00:00 2001
From: "Sven M. Hallberg" <pesco@khjk.org>
Date: Tue, 6 Dec 2016 18:21:59 +0100
Subject: [PATCH] silence gcc about "possible" (impossible) use of
 uninitialized variable

---
 src/sloballoc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/sloballoc.c b/src/sloballoc.c
index 8b6cbc5e..d42f50fa 100644
--- a/src/sloballoc.c
+++ b/src/sloballoc.c
@@ -71,7 +71,7 @@ void *sloballoc(SLOB *slob, size_t size)
 void slobfree(SLOB *slob, void *a_)
 {
     struct alloc *a = a_ - sizeof(struct alloc);
-    struct block *b, **p, *left=NULL, *right=NULL, **rightp;
+    struct block *b, **p, *left=NULL, *right=NULL, **rightp=NULL;
 
     // sanity check: a lies inside slob
     assert((void *)a >= (void *)slob->data);
-- 
GitLab