test: Remove unused variable
This commit is contained in:
parent
35a114acd5
commit
4093341657
1
test.c
1
test.c
@ -12,7 +12,6 @@ intcmp(char *a, char *b)
|
|||||||
char *s;
|
char *s;
|
||||||
int asign = *a == '-' ? -1 : 1;
|
int asign = *a == '-' ? -1 : 1;
|
||||||
int bsign = *b == '-' ? -1 : 1;
|
int bsign = *b == '-' ? -1 : 1;
|
||||||
int ret;
|
|
||||||
|
|
||||||
if (*a == '-' || *a == '+') a += 1;
|
if (*a == '-' || *a == '+') a += 1;
|
||||||
if (*b == '-' || *b == '+') b += 1;
|
if (*b == '-' || *b == '+') b += 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user