suppress the warning: don’t use result of assignment in the if-condition directly. Instead, always compare it.