This warning has the following solution:
When you have a file checked out, there are some things you shouldn't do. For instance, you should not delete or rename a file that is checked out.
If you want delete the file, it is a better practice to either check in your changes or to do an undo checkout on the file first.