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 */
|
||||
|
|
|
|||
|
|
@ -394,7 +394,7 @@ short monst;
|
|||
* Insert player in list if need be
|
||||
*/
|
||||
if (!waswizard) {
|
||||
char *login;
|
||||
char *login = "";
|
||||
|
||||
if (flags != UPDATE) {
|
||||
login = md_getusername();
|
||||
|
|
|
|||
|
|
@ -388,7 +388,7 @@ read_scroll()
|
|||
}
|
||||
when S_BAN: {
|
||||
int howdeep;
|
||||
char *ptr;
|
||||
char *ptr = "";
|
||||
|
||||
if (bless) {
|
||||
if (level > 6) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue