]> granicus.if.org Git - nethack/commitdiff
fix warnings
authorSHIRAKATA Kentaro <argrath@ub32.org>
Sat, 11 Jun 2022 08:18:34 +0000 (17:18 +0900)
committerSHIRAKATA Kentaro <argrath@ub32.org>
Sat, 11 Jun 2022 08:18:34 +0000 (17:18 +0900)
src/vault.c

index f75c4e81ed674704c8e5cd8dbca51dbabc24ca42..231d389c859b4d46417d7dd726fc39266cda89ec 100644 (file)
@@ -15,7 +15,7 @@ static void move_gold(struct obj *, int);
 static void wallify_vault(struct monst *);
 static void gd_mv_monaway(struct monst *, int, int);
 static void gd_pick_corridor_gold(struct monst *, int, int);
-static int gd_move_cleanup(struct monst, boolean, boolean);
+static int gd_move_cleanup(struct monst *, boolean, boolean);
 
 void
 newegd(struct monst *mtmp)
@@ -813,7 +813,7 @@ gd_move(struct monst *grd)
     long umoney = 0L;
     boolean goldincorridor = FALSE, u_in_vault = FALSE, grd_in_vault = FALSE,
             semi_dead = DEADMONSTER(grd),
-            u_carry_gold = FALSE, newspot = FALSE, see_guard;
+            u_carry_gold = FALSE, newspot = FALSE;
 
     if (!on_level(&(egrd->gdlevel), &u.uz))
         return -1;