lcd keypad

I think I have managed to sort it. I have included my code snippet. Does this look right, It seems to be working ok.

void checkPIN()
{
  int correct = strcmp(attempt, PIN);
  
if (correct < 0)        
        systemUnSet();
    
else if (correct == 0)
        systemSet();
    
else if (correct > 0)
        systemUnSet();
 
    return;
    
  for (int zz=0; zz<16; zz++) // wipe attempt
  {
    attempt[zz]=0;
  }
}

It certainly looks cleaner.