RocketBot icon indicating copy to clipboard operation
RocketBot copied to clipboard

[Code Cleanup] Remove unused debug (?) code

Open BillOatman opened this issue 10 years ago • 1 comments

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(',', '.');

BillOatman avatar Aug 02 '16 16:08 BillOatman

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.

eGeeked avatar Aug 03 '16 02:08 eGeeked