From 7f4a4188a016d3dde6eec6f9bfcf5bc053f0ddb8 Mon Sep 17 00:00:00 2001 From: Bart House Date: Tue, 20 Nov 2018 10:27:09 -0800 Subject: [PATCH] Added initialization of newlevel to quite compiler warnings. --- src/cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmd.c b/src/cmd.c index 8c830b9c3..586a67844 100644 --- a/src/cmd.c +++ b/src/cmd.c @@ -901,7 +901,7 @@ STATIC_PTR int wiz_level_change(VOID_ARGS) { char buf[BUFSZ] = DUMMY; - int newlevel; + int newlevel = 0; int ret; getlin("To what experience level do you want to be set?", buf); -- 2.40.0