diff arogue5/player.c @ 195:beab22b087a1

Advanced Rogue 5: initialize some variables.
author John "Elwin" Edwards
date Tue, 11 Aug 2015 13:13:08 -0400
parents 34a87d84ea31
children 56e748983fa8
line wrap: on
line diff
--- a/arogue5/player.c	Tue Aug 11 12:28:17 2015 -0400
+++ b/arogue5/player.c	Tue Aug 11 13:13:08 2015 -0400
@@ -168,7 +168,7 @@
 
     else if (slow_invent) {
 	register char c;
-        char *spellp;
+        char *spellp = "";
 
 	for (i=0; i<num_spells; i++) {
 	    msg("");
@@ -375,7 +375,7 @@
 
     else if (slow_invent) {
 	register char c;
-        char *prayerp;
+        char *prayerp = "";
 
 	for (i=0; i<num_prayers; i++) {
 	    msg("");