mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[qs_parse] i was unused
This commit is contained in:
parent
58b0b39200
commit
25a859090a
@ -11,10 +11,9 @@
|
|||||||
|
|
||||||
int qs_strncmp(const char * s, char * qs, size_t n)
|
int qs_strncmp(const char * s, char * qs, size_t n)
|
||||||
{
|
{
|
||||||
int i=0;
|
|
||||||
unsigned char u1, u2, unyb, lnyb;
|
unsigned char u1, u2, unyb, lnyb;
|
||||||
|
|
||||||
while(n-- > 0)
|
while (n-- > 0)
|
||||||
{
|
{
|
||||||
u1 = (unsigned char) *s++;
|
u1 = (unsigned char) *s++;
|
||||||
u2 = (unsigned char) *qs++;
|
u2 = (unsigned char) *qs++;
|
||||||
@ -48,7 +47,6 @@ int qs_strncmp(const char * s, char * qs, size_t n)
|
|||||||
return u1 - u2;
|
return u1 - u2;
|
||||||
if ( u1 == '\0' )
|
if ( u1 == '\0' )
|
||||||
return 0;
|
return 0;
|
||||||
i++;
|
|
||||||
}
|
}
|
||||||
if ( ISQSCHR(*qs) )
|
if ( ISQSCHR(*qs) )
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user