Kaydet (Commit) b47ae9d0 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

More loplugin:simplifybool

Change-Id: Iddfa035ac4b41d203ed6864f83dab69dcec33386
üst 70ae9dbd
......@@ -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])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment