Compiler Warning (level 3) C4065

switch statement contains 'default' but no 'case' labels

The switch statement specified only a default case. It is functionally equivalent to a sequence of statements.

The following example causes this warning:

void func(int i)
{
   switch(i)
   {
   default:
      func(8);
   }                // warning detected on this line
}