Remove unused variables. Patch by Amine Khaldi.

svn path=/trunk/; revision=45165
This commit is contained in:
Timo Kreuzer 2010-01-20 22:56:01 +00:00
parent fc405bb3c2
commit 74cd1f3fa7
3 changed files with 3 additions and 6 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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);