mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -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 i=0;
|
||||
unsigned char u1, u2, unyb, lnyb;
|
||||
|
||||
while(n-- > 0)
|
||||
while (n-- > 0)
|
||||
{
|
||||
u1 = (unsigned char) *s++;
|
||||
u2 = (unsigned char) *qs++;
|
||||
@ -48,7 +47,6 @@ int qs_strncmp(const char * s, char * qs, size_t n)
|
||||
return u1 - u2;
|
||||
if ( u1 == '\0' )
|
||||
return 0;
|
||||
i++;
|
||||
}
|
||||
if ( ISQSCHR(*qs) )
|
||||
return -1;
|
||||
|
Loading…
Reference in New Issue
Block a user