Skip to content

Commit

Permalink
Disable the compilation warning about needing 'await' on the async me…
Browse files Browse the repository at this point in the history
…thod.
  • Loading branch information
Kinematics committed May 30, 2015
1 parent 1ac3e6d commit b6861dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions NetTally/CheckForNewRelease.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ public class CheckForNewRelease : INotifyPropertyChanged
/// </summary>
public CheckForNewRelease()
{
// Disable warning about needing to use 'await' on an async method.
#pragma warning disable 4014
DoVersionCheck();
#pragma warning restore 4014
}

/// <summary>
Expand Down

0 comments on commit b6861dd

Please sign in to comment.