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])
|
switch(arg[0])
|
||||||
{
|
{
|
||||||
case '@':
|
case '@':
|
||||||
if ((result = (len > 1)) == true)
|
if ((result = (len > 1)))
|
||||||
{
|
{
|
||||||
// "@<cmdfile>"
|
// "@<cmdfile>"
|
||||||
result = Options::checkCommandFile (rArgs, &(arg[1]));
|
result = Options::checkCommandFile (rArgs, &(arg[1]));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case '-':
|
case '-':
|
||||||
if ((result = (len > 1)) == true)
|
if ((result = (len > 1)))
|
||||||
{
|
{
|
||||||
// "-<option>"
|
// "-<option>"
|
||||||
switch (arg[1])
|
switch (arg[1])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user