From ac2fc526eb75001978d62e51d847041577e43c1b Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 27 Jan 2017 07:35:46 +0200 Subject: [PATCH] Fix complaint about uninitialized variable --- src/dungeon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dungeon.c b/src/dungeon.c index 10879fdd..d3b60314 100644 --- a/src/dungeon.c +++ b/src/dungeon.c @@ -1638,7 +1638,7 @@ lev_by_name(nam) const char *nam; { schar lev = 0; - s_level *slev; + s_level *slev = (s_level *)0; d_level dlev; const char *p; int idx, idxtoo; -- 2.11.4.GIT