1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 05:39:53 +08:00

Fix a few warnings.

This commit is contained in:
Dean Herbert
2016-09-28 15:33:02 +09:00
Unverified
parent 7dcf2c6269
commit a69c5b4fc0
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace osu.Game.GameModes.Menu
{
public override string Name => @"Main Menu";
private AudioTrackBass bgm;
//private AudioTrackBass bgm;
public override void Load()
{
+3
View File
@@ -2,6 +2,7 @@
//Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
using System;
using System.Diagnostics;
using System.Security;
using osu.Framework.Extensions;
@@ -35,6 +36,8 @@ namespace osu.Game.Online.API
internal string Get(Representation request = Representation.Raw)
{
Debug.Assert(representation == request);
switch (request)
{
default:
+1 -1
View File
@@ -22,7 +22,7 @@ namespace osu.Game.Online.Chat
public List<Message> Messages = new List<Message>();
internal bool Joined;
//internal bool Joined;
[JsonConstructor]
public Channel()
+2 -2
View File
@@ -21,10 +21,10 @@ namespace osu.Game.Online.Chat
public DateTime Timestamp;
[JsonProperty(@"content")]
internal string Content;
public string Content;
[JsonProperty(@"sender")]
internal string User;
public string User;
[JsonConstructor]
public Message()