Here's how you can disable the annoying warning that appears when you go to empty your trash in OS X on your Mac.
1. Open a terminal window.
2. Type in the following command then hit Enter.
defaults write com.apple.finder WarnOnEmptyTrash -bool false
For more, see the original article at the link below.