Sachin K

Sachin K

  • 0
  • 48
  • 0

if condition i have in my code sonar qube reccomends removal of if

Mar 31 2021 6:05 AM
if (cmbHeader.SelectedIndex > -1 && cmbStaffType.SelectedIndex > -1 && cmbTQD.SelectedIndex > -1 )
{
   //Do something 
 sonar qube flags it to be removed or refactored need help whats the best solution 

Answers (1)