mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
* Reduced a significant number of compiler warnings (back down to 9 for all projects combined, all 'never used' things)
This commit is contained in:
@@ -344,7 +344,7 @@ namespace OpenSim.Framework.Console
|
||||
{
|
||||
// FIXME: Needs to be better abstracted
|
||||
Log.WriteLine(prompt);
|
||||
this.Write(prompt);
|
||||
this.Notice(prompt);
|
||||
ConsoleColor oldfg = System.Console.ForegroundColor;
|
||||
System.Console.ForegroundColor = System.Console.BackgroundColor;
|
||||
string temp = System.Console.ReadLine();
|
||||
@@ -355,7 +355,7 @@ namespace OpenSim.Framework.Console
|
||||
// Displays a command prompt and waits for the user to enter a string, then returns that string
|
||||
public string CmdPrompt(string prompt)
|
||||
{
|
||||
this.Write(String.Format("{0}: ", prompt));
|
||||
this.Notice(String.Format("{0}: ", prompt));
|
||||
return this.ReadLine();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user