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:
@@ -1395,7 +1395,7 @@ static int parse_cmdbits(OPCODE * op)
|
||||
char * e;
|
||||
char * q;
|
||||
int len;
|
||||
char * s, *brkt;
|
||||
char * s, *brkt = NULL;
|
||||
|
||||
bitno = 32;
|
||||
while (lsize(string_list)) {
|
||||
|
||||
Reference in New Issue
Block a user