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:
parent
c934f8cc7a
commit
b1b4ac48d4
|
@ -152,6 +152,7 @@ part_def :
|
||||||
"%s: error at %s:%d: can't determine the number of bank address bits\n"
|
"%s: error at %s:%d: can't determine the number of bank address bits\n"
|
||||||
" Are you sure num_banks (=%u) is correct?\n",
|
" Are you sure num_banks (=%u) is correct?\n",
|
||||||
progname, infile, lineno, current_part->mem[i].num_banks);
|
progname, infile, lineno, current_part->mem[i].num_banks);
|
||||||
|
exit(1);
|
||||||
}
|
}
|
||||||
current_part->mem[i].bankaddrbits = pagebits;
|
current_part->mem[i].bankaddrbits = pagebits;
|
||||||
}
|
}
|
||||||
|
|
4
main.c
4
main.c
|
@ -379,7 +379,7 @@ void verify_pin_assigned(int pin, char * desc)
|
||||||
PROGRAMMER * locate_pinconfig(LISTID programmers, char * configid)
|
PROGRAMMER * locate_pinconfig(LISTID programmers, char * configid)
|
||||||
{
|
{
|
||||||
LNODEID ln1, ln2;
|
LNODEID ln1, ln2;
|
||||||
PROGRAMMER * p;
|
PROGRAMMER * p = NULL;
|
||||||
char * id;
|
char * id;
|
||||||
int found;
|
int found;
|
||||||
|
|
||||||
|
@ -404,7 +404,7 @@ PROGRAMMER * locate_pinconfig(LISTID programmers, char * configid)
|
||||||
AVRPART * locate_part(LISTID parts, char * partdesc)
|
AVRPART * locate_part(LISTID parts, char * partdesc)
|
||||||
{
|
{
|
||||||
LNODEID ln1;
|
LNODEID ln1;
|
||||||
AVRPART * p;
|
AVRPART * p = NULL;
|
||||||
int found;
|
int found;
|
||||||
|
|
||||||
found = 0;
|
found = 0;
|
||||||
|
|
Loading…
Reference in New Issue