Changeset 251

Show
Ignore:
Timestamp:
07/02/07 14:09:36 (1 year ago)
Author:
ajps
Message:

Clean up various compiler warnings to do with the recent pickup changes [245]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cmd1.c

    r245 r251  
    493493 * Pickup all gold at the player's current location. 
    494494 */ 
    495 static bool py_pickup_gold(void) 
     495static void py_pickup_gold(void) 
    496496{ 
    497497        int py = p_ptr->py; 
     
    501501        byte *treasure; 
    502502 
    503         char o_name[80]; 
    504         char buf[1024]; 
    505  
    506503        s16b this_o_idx, next_o_idx = 0; 
    507504 
    508505        object_type *o_ptr; 
    509506 
    510         int can_pickup = 0; 
    511         bool call_function_again = FALSE; 
    512507        int sound_msg; 
    513  
    514         bool blind = ((p_ptr->timed[TMD_BLIND]) || (no_lite())); 
    515         bool msg = TRUE; 
    516  
    517508 
    518509        /* Allocate and wipe an array of ordinary gold objects */ 
     
    752743 
    753744        char o_name[80]; 
    754         char ch; 
    755745 
    756746        s16b this_o_idx, next_o_idx = 0; 
     
    765755        int can_pickup = 0; 
    766756        bool call_function_again = FALSE; 
    767         int sound_msg; 
    768757 
    769758        bool blind = ((p_ptr->timed[TMD_BLIND]) || (no_lite()));