coverity#1158214 Assign instead of compare
Change-Id: Iaf1fd2a1b37338acef9c110e20911503255e8167
This commit is contained in:
@@ -2051,8 +2051,7 @@ void OpSumIf::GenSlidingWindowFunction(std::stringstream &ss,
|
||||
{
|
||||
ss << "\ndouble " << sSymName;
|
||||
ss << "_"<< BinFuncName() <<"(";
|
||||
int flag = 0;
|
||||
(3 == vSubArguments.size()) && (flag = 2);
|
||||
int flag = 3 == vSubArguments.size() ? 2 : 0;
|
||||
for (unsigned i = 0; i < vSubArguments.size(); i++)
|
||||
{
|
||||
if (i)
|
||||
|
Reference in New Issue
Block a user