RocketBot
RocketBot copied to clipboard
[Code Cleanup] Remove unused debug (?) code
This code is in SettingsForm.cs, saveBtn_Click() and doesn't do anything. I suspect it was put there for debugging purposes and never removed.
string lat = ConfigurationManager.AppSettings["DefaultLatitude"];
string longit = ConfigurationManager.AppSettings["DefaultLongitude"];
lat.Replace(',', '.');
longit.Replace(',', '.');
Actually that was there from an early version that kept converting the periods in the lat and long to commas. That was the work around in place until it was finally fixed. But yes, now it can be removed.