Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

more warning cleanup

  • Loading branch information...
commit 1fbc883a0353d13eadbe9f1c7e0b1f8890174d89 1 parent 99e7783
@sdether sdether authored
View
1  src/mindtouch.core/DreamApplicationConfiguration.cs
@@ -56,6 +56,7 @@ internal class DreamApplicationConfiguration {
/// <summary>
/// Expected Authtoken for whitelist behavior for dream.in.* parameters.
+ /// </summary>
public string DreamInParamAuthToken;
}
}
View
2  src/mindtouch.core/DreamApplicationConfigurationBuilder.cs
@@ -129,7 +129,7 @@ public class DreamApplicationConfigurationBuilder {
/// <summary>
/// Define the authtoken expected via 'X-Dream-In-Auth' to allow dream.im.* query args through. If ommitted, any call may pass dream.in.* args
/// </summary>
- /// <param name="apikey">Api key</param>
+ /// <param name="authtoken">Authtoken</param>
/// <returns>Current builder instance.</returns>
public DreamApplicationConfigurationBuilder WithDreamInParamAuthtoken(string authtoken) {
_configuration.DreamInParamAuthToken = authtoken;
View
4 src/mindtouch.db/updateDb.cs
@@ -157,7 +157,7 @@ internal class DBConnection {
}
} catch(VersionInfoException) {
PrintErrorAndExit("You entered an incorrect version numbner.");
- } catch(Exception ex) {
+ } catch(Exception) {
// If there is any problem creating the connection we will just keep going
errors++;
@@ -167,7 +167,7 @@ internal class DBConnection {
} else {
try {
mysqlSchemaUpdater.ChangeDatabase(db.dbServer, dbport, db.dbName, db.dbUsername, db.dbPassword, timeout);
- } catch (Exception ex) {
+ } catch (Exception) {
errors++;
errorStrings.Add(string.Format("There was an error connecting to database {0} on {1}", db.dbName, db.dbServer));
continue;
View
4 src/mindtouch.host.service/mindtouch.host.service.csproj
@@ -51,7 +51,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Signed Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -60,7 +60,7 @@
<DefineConstants>TRACE;SIGNED</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="log4net, Version=1.2.10.0, Culture=neutral, processorArchitecture=MSIL">
View
4 src/tests/PriorityQueue/test.system.priorityqueue.csproj
@@ -52,7 +52,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Signed Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -61,7 +61,7 @@
<DefineConstants>TRACE;SIGNED</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="nunit.framework, Version=2.2.4.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
View
4 src/tests/Storage/test.mindtouch.storage.csproj
@@ -52,7 +52,7 @@
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Signed Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@@ -61,7 +61,7 @@
<DefineConstants>TRACE;SIGNED</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <NoWarn>1911,0618</NoWarn>
+ <NoWarn>0618</NoWarn>
</PropertyGroup>
<ItemGroup>
<Reference Include="Autofac, Version=1.4.5.676, Culture=neutral, PublicKeyToken=17863af14b0044da, processorArchitecture=MSIL">
Please sign in to comment.
Something went wrong with that request. Please try again.