need Programming help

  if (data == 'b');What is that semicolon doing there ?

With it in place the code in the following block will be executed unconditionally