mirror of
https://github.com/reactos/reactos.git
synced 2025-01-02 12:32:47 +00:00
[CRT]
Remove unused variables. Patch by Amine Khaldi. svn path=/trunk/; revision=45165
This commit is contained in:
parent
fc405bb3c2
commit
74cd1f3fa7
3 changed files with 3 additions and 6 deletions
|
@ -18,12 +18,11 @@
|
|||
size_t _mbscspn (const unsigned char *str1, const unsigned char *str2)
|
||||
{
|
||||
int c;
|
||||
unsigned char *ptr;
|
||||
const unsigned char *save = str1;
|
||||
|
||||
while ((c = _mbsnextc (str1))) {
|
||||
|
||||
if ((ptr = _mbschr (str2, c)))
|
||||
if (_mbschr (str2, c))
|
||||
break;
|
||||
|
||||
str1 = _mbsinc ((unsigned char *) str1);
|
||||
|
|
|
@ -18,12 +18,11 @@
|
|||
size_t _mbsspn (const unsigned char *str1, const unsigned char *str2)
|
||||
{
|
||||
int c;
|
||||
unsigned char *ptr;
|
||||
const unsigned char *save = str1;
|
||||
|
||||
while ((c = _mbsnextc (str1))) {
|
||||
|
||||
if ((ptr = _mbschr (str2, c)) == 0)
|
||||
if (_mbschr (str2, c) == 0)
|
||||
break;
|
||||
|
||||
str1 = _mbsinc ((unsigned char *) str1);
|
||||
|
|
|
@ -7,11 +7,10 @@
|
|||
unsigned char *_mbsspnp (const unsigned char *str1, const unsigned char *str2)
|
||||
{
|
||||
int c;
|
||||
unsigned char *ptr;
|
||||
|
||||
while ((c = _mbsnextc (str1))) {
|
||||
|
||||
if ((ptr = _mbschr (str2, c)) == 0)
|
||||
if (_mbschr (str2, c) == 0)
|
||||
return (unsigned char *) str1;
|
||||
|
||||
str1 = _mbsinc ((unsigned char *) str1);
|
||||
|
|
Loading…
Reference in a new issue