summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:28:01 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:57 +0200
commitb47ae9d0f65ff7c06cfa4366eb56ee12d1d6e82c (patch)
tree3b01ad257294e2fa576408e6217ad7e29de6ed13 /idlc
parent70ae9dbda8117b6bcce4d7d0f8940f8b417cd403 (diff)
More loplugin:simplifybool
Change-Id: Iddfa035ac4b41d203ed6864f83dab69dcec33386
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/options.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index 0db0e215d478..f4aad143bb05 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -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])