  				runColor = module(x, y);
  				runY = 1;
  			}
  		}
  		result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3;
  	}
  	
  	// 2*2 blocks of modules having same color
  	for (int y = 0; y < size - 1; y++) {
  		for (int x = 0; x < size - 1; x++) {
 
</s> remove 		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;
 </s> add 		result += finderPenaltyTerminateAndCount(runColor, runX, runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;
 </s> add 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;
 </s> add 					result += finderPenaltyCountPatterns(runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long] </s> remove 	if (msk < 0 || msk > 7)
 </s> add 	if (msk < 0 || msk > 7)//lgtm [cpp/constant-comparison]
		result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long]
  				runColor = module(x, y);
  				runY = 1;
  			}
  		}
		result += finderPenaltyTerminateAndCount(runColor, runY, runHistory) * PENALTY_N3;//lgtm [cpp/integer-multiplication-cast-to-long]
  	}
  	
  	// 2*2 blocks of modules having same color
  	for (int y = 0; y < size - 1; y++) {
  		for (int x = 0; x < size - 1; x++) {
keep keep keep keep replace keep keep keep keep keep
 fix LGTM issues (#19868)

Co-authored-by: Comma Device <device@comma.ai> 
selfdrive/ui/qt/widgets/QrCode.cc