Fix yet another warning:

* ser_avrdoper.c (usbGetReport): remove useless pointer deref


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk@776 81a1dc3b-b13d-400b-aceb-764788c761c2
This commit is contained in:
Joerg Wunsch 2008-07-26 06:04:30 +00:00
parent 0ee630eeca
commit 130eda2439
2 changed files with 3 additions and 2 deletions

View File

@ -6,7 +6,8 @@
* jtagmkI.c (jtagmkI_initialize): pointer signedness mixup * jtagmkI.c (jtagmkI_initialize): pointer signedness mixup
* jtagmkII.c (jtagmkII_print_parms1): propagate const'ness * jtagmkII.c (jtagmkII_print_parms1): propagate const'ness
of parameter of parameter
* usbasp.c (usbasp_transmit): poiner signedness mixup * usbasp.c (usbasp_transmit): pointer signedness mixup
* ser_avrdoper.c (usbGetReport): remove useless pointer deref
2008-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de> 2008-07-25 Joerg Wunsch <j.gnu@uriah.heep.sax.de>

View File

@ -425,7 +425,7 @@ static int usbGetReport(union filedescriptor *fdp, int reportType, int reportNum
*len = bytesReceived; *len = bytesReceived;
if(!usesReportIDs){ if(!usesReportIDs){
buffer[-1] = reportNumber; /* add dummy report ID */ buffer[-1] = reportNumber; /* add dummy report ID */
*len++; len++;
} }
return 0; return 0;
} }