Removed useless default:break
This commit is contained in:
1 parent
7469e86617
commit
71d5b2ce76
10 files changed
-42
No files matched your search
@@ -1540,8 +1540,6 @@ yyGrowStack(pParser);
|
||||
sqlite3IdListDelete( pParse.db, ref ( yypminor.yy90 ).b );
|
||||
//#line 1473 "parse.c"
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break; /* If no destructor action specified: do nothing */
|
||||
}
|
||||
}
|
||||
|
||||
@@ -328,8 +328,6 @@ namespace Vocaluxe.PartyModes
|
||||
Screen.DataToScreen(ToScreenMain);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return Screen;
|
||||
|
||||
@@ -333,8 +333,6 @@ namespace Vocaluxe.PartyModes
|
||||
Screen.DataToScreen(ToScreenMain);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return Screen;
|
||||
|
||||
@@ -408,8 +408,6 @@ namespace Vocaluxe.PartyModes
|
||||
Screen.DataToScreen(ToScreenMain);
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return Screen;
|
||||
|
||||
@@ -165,8 +165,6 @@ namespace Vocaluxe.Base
|
||||
case ESounds.T440:
|
||||
file = Path.Combine(file, CSettings.sSoundT440);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
if (file.Length == 0)
|
||||
|
||||
@@ -91,8 +91,6 @@ namespace Vocaluxe.Screens
|
||||
SelectSlides[SelectSlideProfiles].RenameValue(
|
||||
CProfiles.AddGetPlayerName(SelectSlides[SelectSlideProfiles].Selection, KeyEvent.Unicode));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
||||
@@ -1487,8 +1487,6 @@ namespace Vocaluxe.Menu
|
||||
case Keys.Right:
|
||||
actualRect = new SRectF(0, actualRect.Y, 1, 1, actualRect.Z);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
for (int i = 0; i < _Interactions.Count; i++)
|
||||
@@ -1539,8 +1537,6 @@ namespace Vocaluxe.Menu
|
||||
inDirection = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (!inDirection)
|
||||
return float.MaxValue;
|
||||
@@ -1578,8 +1574,6 @@ namespace Vocaluxe.Menu
|
||||
inDirection = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (!inDirection)
|
||||
return float.MaxValue;
|
||||
|
||||
@@ -748,8 +748,6 @@ namespace Vocaluxe.Menu
|
||||
case Keys.Right:
|
||||
actualRect = new SRectF(0, actualRect.Y, 1, 1, actualRect.Z);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
for (int i = 0; i < _Interactions.Count; i++)
|
||||
@@ -800,8 +798,6 @@ namespace Vocaluxe.Menu
|
||||
inDirection = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (!inDirection)
|
||||
return float.MaxValue;
|
||||
@@ -839,8 +835,6 @@ namespace Vocaluxe.Menu
|
||||
inDirection = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
if (!inDirection)
|
||||
return float.MaxValue;
|
||||
|
||||
@@ -177,8 +177,6 @@ namespace Vocaluxe.Menu
|
||||
_Alpha = 1f - _Age / _MaxAge;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -223,8 +221,6 @@ namespace Vocaluxe.Menu
|
||||
Y += _Vy * timediff;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -254,8 +250,6 @@ namespace Vocaluxe.Menu
|
||||
size = _Size * (1f - CurrentTime / _Vsize);
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
_Rect.X += (_Rect.W - size) / 2f;
|
||||
@@ -530,8 +524,6 @@ namespace Vocaluxe.Menu
|
||||
vsize = lifetime * 2f;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
int w = (int)(Rect.W - size / 4f);
|
||||
|
||||
@@ -648,8 +648,6 @@ namespace Vocaluxe.Menu
|
||||
case EHAlignment.Bottom:
|
||||
sFactor = (Height - _DrawPosition.tH) * 0.5f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
CBase.Fonts.DrawTextReflection(_Text, _DrawPosition.tH, _DrawPosition.X, _DrawPosition.Y, Z, color, ReflectionSpace + sFactor, ReflectionHeight);
|
||||
}
|
||||
@@ -676,8 +674,6 @@ namespace Vocaluxe.Menu
|
||||
case EAlignment.Right:
|
||||
x = X - bounds.Width;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
SColorF CurrentColor = new SColorF(Color);
|
||||
@@ -743,8 +739,6 @@ namespace Vocaluxe.Menu
|
||||
case EHAlignment.Bottom:
|
||||
y += step * 0.75f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
bounds = CBase.Fonts.GetTextBounds(this, h);
|
||||
@@ -758,8 +752,6 @@ namespace Vocaluxe.Menu
|
||||
case EAlignment.Right:
|
||||
x = x - bounds.Width;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
@@ -850,8 +842,6 @@ namespace Vocaluxe.Menu
|
||||
case EHAlignment.Bottom:
|
||||
y += step * 0.75f;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
bounds = CBase.Fonts.GetTextBounds(this, h);
|
||||
|
||||
Reference in new issue
Block a user