mirror of
https://github.com/avrdudes/avrdude.git
synced 2026-09-24 18:16:22 +03:00
Suppress compiler warning
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
#include "disasm_jumpcall.h"
|
||||
#include "disasm_tagfile.h"
|
||||
|
||||
/****
|
||||
void Display_Registers() {
|
||||
int i;
|
||||
|
||||
@@ -52,6 +53,7 @@ void Display_Registers() {
|
||||
}
|
||||
printf("End of register dump.\n");
|
||||
}
|
||||
****/
|
||||
|
||||
int Compare_Opcode(const char *Bitstream, const char *Bitmask) {
|
||||
size_t i;
|
||||
|
||||
@@ -370,7 +370,6 @@ static void Sanitize_String(char *String) {
|
||||
}
|
||||
|
||||
int Tagfile_Process_Data(const char *Bitstream, int Position) {
|
||||
int i;
|
||||
int BytesAdvanced;
|
||||
int Index;
|
||||
int (*ProcessingFunction)(const char *, int, int, const char *) = NULL;
|
||||
@@ -429,9 +428,8 @@ int Tagfile_Process_Data(const char *Bitstream, int Position) {
|
||||
}
|
||||
|
||||
BytesAdvanced = 0;
|
||||
for(i = 0; i < cx->dis_PGMLabels[Index].Count; i++) {
|
||||
for(unsigned i = 0; i < cx->dis_PGMLabels[Index].Count; i++)
|
||||
BytesAdvanced += ProcessingFunction(Bitstream, Position + BytesAdvanced, i, Buffer);
|
||||
}
|
||||
|
||||
if(cx->dis_PGMLabels[Index].Type == TYPE_ASTRING) {
|
||||
// Autoaligned string
|
||||
|
||||
Reference in New Issue
Block a user