OSDN Git Service

使用されていない変数の削除。
[hengband/hengband.git] / src / load.c
index b7b3c23..a66a8dc 100644 (file)
@@ -134,46 +134,6 @@ static void note(cptr msg)
 
 
 /*
- * Hack -- determine if an item is "wearable" (or a missile)
- */
-static bool wearable_p(object_type *o_ptr)
-{
-       /* Valid "tval" codes */
-       switch (o_ptr->tval)
-       {
-               case TV_SHOT:
-               case TV_ARROW:
-               case TV_BOLT:
-               case TV_BOW:
-               case TV_DIGGING:
-               case TV_HAFTED:
-               case TV_POLEARM:
-               case TV_SWORD:
-               case TV_BOOTS:
-               case TV_GLOVES:
-               case TV_HELM:
-               case TV_CROWN:
-               case TV_SHIELD:
-               case TV_CLOAK:
-               case TV_SOFT_ARMOR:
-               case TV_HARD_ARMOR:
-               case TV_DRAG_ARMOR:
-               case TV_LITE:
-               case TV_AMULET:
-               case TV_RING:
-               case TV_CAPTURE:
-               case TV_CARD:
-               {
-                       return (TRUE);
-               }
-       }
-
-       /* Nope */
-       return (FALSE);
-}
-
-
-/*
  * The following functions are used to load the basic building blocks
  * of savefiles.  They also maintain the "checksum" info for 2.7.0+
  */
@@ -287,8 +247,6 @@ static void strip_bytes(int n)
  */
 static void rd_item(object_type *o_ptr)
 {
-       u32b f1, f2, f3;
-
        char buf[128];