Skip to content

Commit 78671f7

Browse files
committed
get rid of code warnings
1 parent 6c8ed0b commit 78671f7

File tree

4 files changed

+10
-12
lines changed

4 files changed

+10
-12
lines changed

src/CLU/Commands.Common.Authentication/Authentication/UserTokenProvider.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ private AuthenticationContext CreateContext(AdalConfiguration config)
107107
private AuthenticationResult AcquireToken(AdalConfiguration config, AuthenticationBehavior behavior, string userId,
108108
string password)
109109
{
110-
AuthenticationResult result = null;
111110
var context = CreateContext(config);
112111

113112
ServiceClientTracing.Information(

src/CLU/Microsoft.Azure.Commands.Resources.Test/ResourceGroups/NewAzureResourceGroupCommandTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class NewAzureResourceGroupCommandTests : RMTestBase
4141

4242
private string templateFile = @"Resources\sampleTemplateFile.json";
4343

44-
private string storageAccountName = "myStorageAccount";
44+
//private string storageAccountName = "myStorageAccount";
4545

4646
private Hashtable[] tags;
4747

src/CLU/Microsoft.Azure.Commands.Websites.Test/NewAzureWebsitesCommandTests.cs

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,22 +30,21 @@ public class NewAzureWebAppCommandTests
3030

3131
private Mock<ICommandRuntime> commandRuntimeMock;
3232

33-
// ResourceGroupName, WebsiteName, SlotName, Location, WebHostingPlan
33+
//ResourceGroupName, WebsiteName, SlotName, Location, WebHostingPlan
3434

35+
//private string resourceGroupName = "Default-Web-WestUS";
3536

36-
private string resourceGroupName = "Default-Web-WestUS";
37+
//private string websiteName = "ngoliPSWebsite";
3738

38-
private string websiteName = "ngoliPSWebsite";
39-
40-
private string slotName = null;
39+
//private string slotName = null;
4140

42-
private string webHostingPlan = "myWHP";
41+
//private string webHostingPlan = "myWHP";
4342

44-
private string location = "West US";
43+
//private string location = "West US";
4544

46-
private Dictionary<string, object> properties;
45+
//private Dictionary<string, object> properties;
4746

48-
private Hashtable[] tags;
47+
//private Hashtable[] tags;
4948

5049
public NewAzureWebAppCommandTests()
5150
{

src/CLU/Microsoft.Azure.Commands.Websites.Test/WebsitesTestHelpers.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static void CreateAccountResource(string accountName, string resourceGrou
2424
{
2525
string tenantUrlEnding = "batch-test.windows-int.net";
2626
string endpoint = string.Format("{0}.{1}", accountName, tenantUrlEnding);
27-
string subscription = "00000000-0000-0000-0000-000000000000";
27+
//string subscription = "00000000-0000-0000-0000-000000000000";
2828
string resourceGroup = resourceGroupName;
2929
}
3030
}

0 commit comments

Comments
 (0)