Skip to content

Commit b28f7cb

Browse files
author
Chris Jakeman
committed
Removes unused variables
1 parent 03ba35e commit b28f7cb

File tree

1 file changed

+0
-4
lines changed
  • Source/Orts.Simulation/Simulation/RollingStocks

1 file changed

+0
-4
lines changed

Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1115,10 +1115,6 @@ public virtual void UpdateTunnelForce()
11151115
{
11161116
if (CarTunnelData.FrontPositionBeyondStartOfTunnel.HasValue)
11171117
{
1118-
float? TunnelStart;
1119-
float? TunnelAhead;
1120-
float? TunnelBehind;
1121-
11221118
// Calculate tunnel default effective cross-section area, and tunnel perimeter - based upon the designed speed limit of the railway (TRK File)
11231119
float TunnelLengthM = CarTunnelData.LengthMOfTunnelAheadFront.Value + CarTunnelData.LengthMOfTunnelBehindRear.Value;
11241120
float TrainLengthTunnelM = Train.Length;

0 commit comments

Comments
 (0)