bug #39794: warnings when building avrdude 6.0rc1 under CentOS 6.4

* pickit.c (usb_open_device): Use %p rather than %X to print "handle"
which is a pointer
* jtag3.c (jtag3_initialize): Initialize "flashsize" to be sure it
proceeds with a valid value.



git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1197 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
joerg_wunsch
2013-09-02 20:30:09 +00:00
parent b835ec2d6e
commit 12de7132f3
3 changed files with 11 additions and 2 deletions

View File

@@ -847,7 +847,7 @@ static int jtag3_initialize(PROGRAMMER * pgm, AVRPART * p)
struct mega_device_desc md;
LNODEID ln;
AVRMEM * m;
unsigned int flashsize;
unsigned int flashsize = 0;
memset(&md, 0, sizeof md);