Initialize some more pointers for the benefit of MSVC.
There should be no more errors with Visual Studio 2015, in Debug or Release mode.
This commit is contained in:
parent
71bc6ff210
commit
11f7731a3d
3 changed files with 4 additions and 4 deletions
|
|
@ -733,7 +733,7 @@ bool see_att, see_def;
|
|||
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 @@ bool see_att, see_def;
|
|||
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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue