CharEd: Unused variables

This commit is contained in:
Sylae Corell
2014-08-01 12:27:19 -06:00
parent 8be25a04aa
commit af39e4826e
3 changed files with 1 additions and 11 deletions

View File

@@ -111,7 +111,6 @@ void file_initialize()
void load_file()
{
long file_size;
HANDLE file_id;
short i, j;
Boolean town_restore = FALSE;
@@ -145,7 +144,6 @@ void load_file()
OPEN_EXISTING, FILE_ATTRIBUTE_NORMAL, NULL);
if (file_id == INVALID_HANDLE_VALUE) return;
file_size = sizeof(party_record_type);
for (i = 0; i < 3; i++)
@@ -731,7 +729,6 @@ void save_file(short mode)
short flag;
short *store;
party_record_type *party_ptr;
setup_save_type *setup_ptr;
pc_record_type *pc_ptr;
char *party_encryptor;
@@ -996,7 +993,6 @@ void save_file(short mode)
party_encryptor[count] ^= 0x5C;
// SAVE SETUP
setup_ptr = &setup_save;
if (WriteFile(file_id, &setup_save, sizeof(setup_save_type), &bytes, NULL) == FALSE)
{
CloseHandle(file_id);