do..while

void PAUSE_CLOCK_HANDS() {
 int second;
 while (second <= 30) {
   byte second, minute, hour, dayOfWeek, dayOfMonth, month, year;
   readDS3231time(&second, &minute, &hour, &dayOfWeek, &dayOfMonth, &month, &year);
Serial.print(hour);
Serial.print(":");
Serial.print(minute);
Serial.print(":"); 
Serial.println(second);

 }

}

This reads the RTC and outputs the time to serial.print

The time reads and advances correctly but the seconds advance past 30 without exiting the while loop