Skip to content

Commit

Permalink
Remove unused fields
Browse files Browse the repository at this point in the history
  • Loading branch information
cdmihai committed Jul 24, 2021
1 parent bb65c38 commit aa5d749
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions src/Build/BackEnd/Node/OutOfProcNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,11 +118,6 @@ public class OutOfProcNode : INode, IBuildComponentHost, INodePacketFactory, INo
/// </summary>
private Exception _shutdownException;

/// <summary>
/// Flag indicating if we should debug communications or not.
/// </summary>
private readonly bool _debugCommunications;

/// <summary>
/// Data for the use of LegacyThreading semantics.
/// </summary>
Expand All @@ -140,8 +135,6 @@ public OutOfProcNode()
{
s_isOutOfProcNode = true;

_debugCommunications = (Environment.GetEnvironmentVariable("MSBUILDDEBUGCOMM") == "1");

_receivedPackets = new ConcurrentQueue<INodePacket>();
_packetReceivedEvent = new AutoResetEvent(false);
_shutdownEvent = new ManualResetEvent(false);
Expand Down
7 changes: 0 additions & 7 deletions src/Shared/NodeEndpointOutOfProcBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ internal abstract class NodeEndpointOutOfProcBase : INodeEndpoint
/// </summary>
private const int PipeBufferSize = 131072;

/// <summary>
/// Flag indicating if we should debug communications or not.
/// </summary>
private bool _debugCommunications = false;

/// <summary>
/// The current communication status of the node.
/// </summary>
Expand Down Expand Up @@ -193,8 +188,6 @@ internal void InternalConstruct(string pipeName)
{
ErrorUtilities.VerifyThrowArgumentLength(pipeName, nameof(pipeName));

_debugCommunications = (Environment.GetEnvironmentVariable("MSBUILDDEBUGCOMM") == "1");

_status = LinkStatus.Inactive;
_asyncDataMonitor = new object();
_sharedReadBuffer = InterningBinaryReader.CreateSharedBuffer();
Expand Down

0 comments on commit aa5d749

Please sign in to comment.