loplugin:implicitboolconversion

Change-Id: I21aeb9504be38e4a6b55892730131a878234ced3
This commit is contained in:
Stephan Bergmann
2016-06-23 13:08:11 +02:00
parent 5bd5baff3f
commit 1f1f26bf0f

View File

@@ -421,7 +421,7 @@ void make_keyword( char *keyword, const char *token)
if( (token[0] & 0x80) || rtl::isAsciiLowerCase(token[0]) || strlen(token) < 2 )
return;
int capital = rtl::isAsciiUpperCase(keyword[1]);
bool capital = rtl::isAsciiUpperCase(keyword[1]);
for( ptr = keyword + 2; *ptr && result; ptr++ )
{
if( (*ptr & 0x80) ||