diff srogue/scrolls.c @ 211:382ff498acdd

Initialize some more pointers for the benefit of MSVC. There should be no more errors with Visual Studio 2015, in Debug or Release mode.
author John "Elwin" Edwards
date Thu, 21 Jan 2016 21:10:23 -0500
parents 3aa87373c908
children 94a0d9dd5ce1
line wrap: on
line diff
--- a/srogue/scrolls.c	Sun Jan 17 18:59:50 2016 -0500
+++ b/srogue/scrolls.c	Thu Jan 21 21:10:23 2016 -0500
@@ -388,7 +388,7 @@
 		}
 	when S_BAN: {
 		int howdeep;
-		char *ptr;
+		char *ptr = "";
 
 		if (bless) {
 			if (level > 6) {