More loplugin:simplifybool
Change-Id: Iddfa035ac4b41d203ed6864f83dab69dcec33386
This commit is contained in:
parent
70ae9dbda8
commit
b47ae9d0f6
@ -69,14 +69,14 @@ bool Options::checkArgument (std::vector< std::string > & rArgs, char const * ar
|
||||
switch(arg[0])
|
||||
{
|
||||
case '@':
|
||||
if ((result = (len > 1)) == true)
|
||||
if ((result = (len > 1)))
|
||||
{
|
||||
// "@<cmdfile>"
|
||||
result = Options::checkCommandFile (rArgs, &(arg[1]));
|
||||
}
|
||||
break;
|
||||
case '-':
|
||||
if ((result = (len > 1)) == true)
|
||||
if ((result = (len > 1)))
|
||||
{
|
||||
// "-<option>"
|
||||
switch (arg[1])
|
||||
|
Loading…
x
Reference in New Issue
Block a user