# HG changeset patch # User John "Elwin" Edwards # Date 1453428623 18000 # Node ID 382ff498acdd28042d04bb8b5acae27d422807c1 # Parent c4f2e1bda8b0e7bacf9da2a7cfd3c433e0e1930e Initialize some more pointers for the benefit of MSVC. There should be no more errors with Visual Studio 2015, in Debug or Release mode. diff -r c4f2e1bda8b0 -r 382ff498acdd arogue7/fight.c --- a/arogue7/fight.c Sun Jan 17 18:59:50 2016 -0500 +++ b/arogue7/fight.c Thu Jan 21 21:10:23 2016 -0500 @@ -733,7 +733,7 @@ register char *er, *ee; bool back_stab, thrown, short_msg; { - register char *s; + register char *s = ""; char att_name[LINELEN], /* Name of attacker */ def_name[LINELEN]; /* Name of defender */ @@ -797,7 +797,7 @@ register char *er, *ee; bool thrown, short_msg; { - register char *s; + register char *s = ""; char att_name[LINELEN], /* Name of attacker */ def_name[LINELEN]; /* Name of defender */ diff -r c4f2e1bda8b0 -r 382ff498acdd arogue7/rip.c --- a/arogue7/rip.c Sun Jan 17 18:59:50 2016 -0500 +++ b/arogue7/rip.c Thu Jan 21 21:10:23 2016 -0500 @@ -394,7 +394,7 @@ * Insert player in list if need be */ if (!waswizard) { - char *login; + char *login = ""; if (flags != UPDATE) { login = md_getusername(); diff -r c4f2e1bda8b0 -r 382ff498acdd srogue/scrolls.c --- 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) {