[v9_10] clean up gcc -Wshadow warnings
4039. [cleanup] Cleaned up warnings from gcc -Wshadow. [RT #37381]
This commit is contained in:
@@ -75,10 +75,10 @@ tohexstr(unsigned char *d, unsigned int len, char *out) {
|
||||
|
||||
out[0]='\0';
|
||||
char c_ret[] = "AA";
|
||||
unsigned int i;
|
||||
unsigned int j;
|
||||
strcat(out, "0x");
|
||||
for (i = 0; i < len; i++) {
|
||||
sprintf(c_ret, "%02X", d[i]);
|
||||
for (j = 0; j < len; j++) {
|
||||
sprintf(c_ret, "%02X", d[j]);
|
||||
strcat(out, c_ret);
|
||||
}
|
||||
strcat(out, "\0");
|
||||
|
||||
Reference in New Issue
Block a user