By default in OS X, users are given a warning when emptying the Trash and removing files from the hard drive. You can disable the warning window before emptying the Trash with following command:
defaults write com.apple.finder WarnOnEmptyTrash -bool false
Revert to the default setting:
defaults write com.apple.finder WarnOnEmptyTrash -bool true