Abdelrazak Younes <[EMAIL PROTECTED]> writes:

>>      if (prelen > alen || a.empty())
>>              return false;
>> -#if defined(STD_STRING_IS_GOOD)
>> -    return a.compare(0, prelen, pre) == 0;
>> -#else
>> -    return ::strncmp(a.c_str(), pre.c_str(), prelen) == 0;
>> -#endif
>> +    else
>> +            return a.compare(0, prelen, pre) == 0;
>
> The else is superfluous here.

I know, but it was already there in other versions on the same
function. I thought it was actually more readable.

JMarc

Reply via email to