diff options
| author | manuel <manuel@mausz.at> | 2018-01-01 13:40:09 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2018-01-01 13:40:09 +0100 |
| commit | 4830f27a40323fe859dc166337a2b861877b7121 (patch) | |
| tree | 39e9f712a5415ec0026c3914f4bf600b2f679287 /cmake/scripts/linux/clang-check-test.sh.in | |
| parent | 0afb1d4d51973cf52973617c92236d851a039d31 (diff) | |
| download | kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.gz kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.tar.bz2 kodi-pvr-build-4830f27a40323fe859dc166337a2b861877b7121.zip | |
sync with upstream
Diffstat (limited to 'cmake/scripts/linux/clang-check-test.sh.in')
| -rwxr-xr-x | cmake/scripts/linux/clang-check-test.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/scripts/linux/clang-check-test.sh.in b/cmake/scripts/linux/clang-check-test.sh.in index 3b30ec1..12e9a0e 100755 --- a/cmake/scripts/linux/clang-check-test.sh.in +++ b/cmake/scripts/linux/clang-check-test.sh.in | |||
| @@ -12,7 +12,7 @@ source_file=$2 | |||
| 12 | 12 | ||
| 13 | tmpfil=`mktemp` | 13 | tmpfil=`mktemp` |
| 14 | $clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil | 14 | $clangcheck_cmd -p @CMAKE_BINARY_DIR@ -analyze $source_file &> $tmpfil |
| 15 | nerr=`cat $tmpfil | grep -v "warning: /usr/bin/c++: 'linker' input unused" | wc -l` | 15 | nerr=`cat $tmpfil | grep -v "warning: .*: 'linker' input unused" | wc -l` |
| 16 | if test $nerr -gt 0 | 16 | if test $nerr -gt 0 |
| 17 | then | 17 | then |
| 18 | cat $tmpfil | 18 | cat $tmpfil |
