Fixed some compiler warnings
This commit is contained in:
parent
18114bf7df
commit
e19fc4568c
|
@ -299,7 +299,7 @@ unsigned short max = 0xffff; /* Maximum number of bytes to disassemble */
|
|||
char line[512];
|
||||
|
||||
/* This function emits a comment header with information about the file
|
||||
being disassembled */
|
||||
being disassembled */
|
||||
|
||||
void emit_header(char *filename, int fsize, unsigned short org) {
|
||||
fprintf(stdout, "; Source generated by DCC6502 version %s\n", VERSION_INFO);
|
||||
|
@ -376,7 +376,7 @@ void disassemble(char *output) {
|
|||
|
||||
char tmpstr[256], tmpstr2[256], tmpstr3[256];
|
||||
|
||||
int i, j, entry, found = 0;
|
||||
int i, entry, found = 0;
|
||||
|
||||
opcode = buffer[PC];
|
||||
|
||||
|
@ -718,7 +718,6 @@ void set_max(char *str) {
|
|||
|
||||
int main(int argc, char *argv[]) {
|
||||
int i = 0;
|
||||
char c;
|
||||
char tmpstring[512];
|
||||
char filename[512];
|
||||
|
||||
|
|
Loading…
Reference in New Issue