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:
Joerg Wunsch
2010-01-07 13:13:02 +00:00
parent 23d95b80dd
commit f7cb1f53ea
4 changed files with 22 additions and 8 deletions

View File

@@ -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)) {