Skip to content

Commit

Permalink
more c2t cleanup back ported from c2t-96h
Browse files Browse the repository at this point in the history
  • Loading branch information
datajerk committed Sep 27, 2017
1 parent b2dfc24 commit a4fdcc0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions c2t.c
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,8 @@ int main(int argc, char **argv)
// write out code
if(!autoload && !dsk) {
int i, j;
unsigned long cmp_len;
//unsigned long cmp_len;
size_t cmp_len;
unsigned char *cmp_data;
char checksum;

Expand Down Expand Up @@ -553,7 +554,8 @@ int main(int argc, char **argv)
if(autoload) {
char eta[40], loading[]=" LOADING ";
unsigned char byte, checksum, *cmp_data, table[12];
unsigned long ones=0, zeros=0, cmp_len;
unsigned long ones=0, zeros=0;
size_t cmp_len;
unsigned int length, move_len;
int i, j;

Expand Down Expand Up @@ -994,7 +996,8 @@ int main(int argc, char **argv)
if(dsk) {
char eta[40];
unsigned char byte, checksum=0xff, *cmp_data, start_table[21], *diskloadcode;
unsigned long ones=0, zeros=0, cmp_len, diskloadcode_len;
unsigned long ones=0, zeros=0, diskloadcode_len;
size_t cmp_len;
unsigned int length, start_table_len = 0;
int i, j;
double inflate_times[5];
Expand Down

0 comments on commit a4fdcc0

Please sign in to comment.