mirror of
https://github.com/mariusgreuel/avrdude.git
synced 2025-12-18 03:14:42 +00:00
Fix a few warnings that came up recently (some of them only triggered
by recent GCC versions). * config_gram.y (parse_cmdbits): "brkt possibly used uninitialized" (GCC errs here) * jtagmkII.c (jtagmkII_reset32): "status possibly used uninitialized" (I think GCC errs, too) * buspirate.c: "pointers differ in signedness" (mismatch between string processing and the use of "unsigned char" throughought the AVRDUDE API) git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@882 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
@@ -2618,6 +2618,8 @@ static int jtagmkII_reset32(PROGRAMMER * pgm, unsigned short flags)
|
||||
"%s: jtagmkII_reset32(%2.2x)\n",
|
||||
progname, flags);
|
||||
|
||||
status = -1;
|
||||
|
||||
// Happens at the start of a programming operation
|
||||
if(flags & AVR32_RESET_READ) {
|
||||
buf[0] = CMND_GET_IR;
|
||||
|
||||
Reference in New Issue
Block a user