fix warnings, and bogosity in projectfiles
This commit is contained in:
@@ -165,7 +165,7 @@ namespace OpenRA.Server
|
||||
foreach (var t in ServerTraits.WithInterface<IClientJoined>())
|
||||
t.ClientJoined(this, newConn);
|
||||
}
|
||||
catch (Exception e) { DropClient(newConn); }
|
||||
catch (Exception) { DropClient(newConn); }
|
||||
}
|
||||
|
||||
public void UpdateInFlightFrames(Connection conn)
|
||||
@@ -193,7 +193,7 @@ namespace OpenRA.Server
|
||||
ms.Write( data );
|
||||
c.socket.Send( ms.ToArray() );
|
||||
}
|
||||
catch (Exception e) { DropClient(c); }
|
||||
catch (Exception) { DropClient(c); }
|
||||
}
|
||||
|
||||
public void DispatchOrders(Connection conn, int frame, byte[] data)
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
<Name>OpenRA.Game</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
@@ -69,4 +68,4 @@
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -61,7 +61,6 @@
|
||||
<Name>OpenRA.FileFormats</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
@@ -70,4 +69,4 @@
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
</Project>
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace RALint
|
||||
++errors;
|
||||
}
|
||||
|
||||
static Dictionary<string, int> ValidPrereqs;
|
||||
static Dictionary<string, int> ValidPrereqs = new Dictionary<string, int>();
|
||||
|
||||
static int Main(string[] args)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user