[tor-commits] [chutney/master] Refactor and document the warnings.sh code