Silence -Wunused-variable in release builds.
[llvm/stm8.git] / utils / lint / remove_trailing_whitespace.sh
blob6e0c9be0932b371e34325591094726e43524a404
1 #!/bin/sh
2 # Deletes trailing whitespace in-place in the passed-in files.
3 # Sample syntax:
4 # $0 *.cpp
6 perl -pi -e 's/\s+$/\n/' $*