Are you using the Productivity Power Tools VS 2010 extension? If so, go to Tools -> Options -> and choose Productivity Power Tools. Here you can turn off the option to Fix Mixed Tabs. This will turn off this warning.
Power Tools for Visual Studio 2010
Power Tools for Visual Studio 2012
Power Tools for Visual Studio 2013
Power Tools for Visual Studio 2015