bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
In main.c, drop unused variable `fuses_specified'. Variable ran out of service in r519, but never got removed. git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1509 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
parent
202b6cab39
commit
2df2587155
|
@ -1,3 +1,8 @@
|
||||||
|
2021-12-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
|
bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
|
||||||
|
* main.c (main): drop unused variable `fuses_specified'
|
||||||
|
|
||||||
2021-12-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
2021-12-06 Joerg Wunsch <j.gnu@uriah.heep.sax.de>
|
||||||
|
|
||||||
Submitted by Dmitrii Chernukhin:
|
Submitted by Dmitrii Chernukhin:
|
||||||
|
|
1
NEWS
1
NEWS
|
@ -82,6 +82,7 @@ Current:
|
||||||
bug #58440: linuxgpio PIN limit too low
|
bug #58440: linuxgpio PIN limit too low
|
||||||
bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close()
|
bug #55462: wrong programmer id check in jtag3_getsync() and jtag3_close()
|
||||||
bug #58994: VPP PWM still enabled at the end of programming process
|
bug #58994: VPP PWM still enabled at the end of programming process
|
||||||
|
bug #57338: if safemode has to change fuses avrdude should exit with non-zero exit code
|
||||||
|
|
||||||
* Patches:
|
* Patches:
|
||||||
patch #9482: Add support for UPDI and AVR8X
|
patch #9482: Add support for UPDI and AVR8X
|
||||||
|
|
3
main.c
3
main.c
|
@ -345,7 +345,6 @@ int main(int argc, char * argv [])
|
||||||
unsigned char safemode_fuse = 0xff;
|
unsigned char safemode_fuse = 0xff;
|
||||||
|
|
||||||
char * safemode_response;
|
char * safemode_response;
|
||||||
int fuses_specified = 0;
|
|
||||||
int fuses_updated = 0;
|
int fuses_updated = 0;
|
||||||
#if !defined(WIN32NATIVE)
|
#if !defined(WIN32NATIVE)
|
||||||
char * homedir;
|
char * homedir;
|
||||||
|
@ -1423,7 +1422,7 @@ int main(int argc, char * argv [])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (fuses_updated && fuses_specified) {
|
if (fuses_updated) {
|
||||||
exitrc = 1;
|
exitrc = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue