OSDN Git Service

(2.2.0.17) avater.cとeffect.c内のC4457警告に対応。 / Deal C4457 warning in avater.c, effect.c.
[hengband/hengband.git] / src / spells3.c
index f7fcda1..1ac238a 100644 (file)
@@ -3646,9 +3646,6 @@ void display_spell_list(void)
            (p_ptr->pclass == CLASS_MIRROR_MASTER) ||
            (p_ptr->pclass == CLASS_FORCETRAINER))
        {
-               int             i;
-               int             y = 1;
-               int             x = 1;
                int             minfail = 0;
                int             plev = p_ptr->lev;
                int             chance = 0;
@@ -3658,6 +3655,9 @@ void display_spell_list(void)
                int             use_mind;
                bool use_hp = FALSE;
 
+               y = 1;
+               x = 1;
+
                /* Display a list of spells */
                prt("", y, x);
                put_str(_("名前", "Name"), y, x + 5);
@@ -5762,7 +5762,7 @@ bool summon_kin_player(int level, int y, int x, u32b mode)
  * @param px プレイヤーX座標
  * @return なし
  */
-void massacre(int py, int px)
+void massacre(void)
 {
        int x, y;
        cave_type       *c_ptr;