if (...) 
{
  if (...) 
  {
    y = x ** 2 + 1;
  }
  else 
  {
    y = x ** 2 + 1;                                                            /*  "condition branches are the same" */
  }
}
else 
{
  ...
}