Fix an (non)exit.

Silence a couple of compiler warnings.


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@89 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Brian S. Dean 2001-10-16 02:50:27 +00:00
parent c934f8cc7a
commit b1b4ac48d4
2 changed files with 3 additions and 2 deletions

View File

@ -152,6 +152,7 @@ part_def :
"%s: error at %s:%d: can't determine the number of bank address bits\n"
" Are you sure num_banks (=%u) is correct?\n",
progname, infile, lineno, current_part->mem[i].num_banks);
exit(1);
}
current_part->mem[i].bankaddrbits = pagebits;
}

4
main.c
View File

@ -379,7 +379,7 @@ void verify_pin_assigned(int pin, char * desc)
PROGRAMMER * locate_pinconfig(LISTID programmers, char * configid)
{
LNODEID ln1, ln2;
PROGRAMMER * p;
PROGRAMMER * p = NULL;
char * id;
int found;
@ -404,7 +404,7 @@ PROGRAMMER * locate_pinconfig(LISTID programmers, char * configid)
AVRPART * locate_part(LISTID parts, char * partdesc)
{
LNODEID ln1;
AVRPART * p;
AVRPART * p = NULL;
int found;
found = 0;