fix warnings, and bogosity in projectfiles

This commit is contained in:
Chris Forbes
2010-12-27 13:36:54 +13:00
parent 3d47584cd8
commit 2cce1ce23c
4 changed files with 5 additions and 7 deletions

View File

@@ -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)

View File

@@ -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>

View File

@@ -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>

View File

@@ -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)
{