From b47ae9d0f65ff7c06cfa4366eb56ee12d1d6e82c Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 27 Apr 2015 15:28:01 +0200 Subject: More loplugin:simplifybool Change-Id: Iddfa035ac4b41d203ed6864f83dab69dcec33386 --- idlc/source/options.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'idlc/source') 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))) { // "@" result = Options::checkCommandFile (rArgs, &(arg[1])); } break; case '-': - if ((result = (len > 1)) == true) + if ((result = (len > 1))) { // "-