diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-29 00:32:07 +0200 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2014-08-29 18:57:25 +0200 |
commit | be4aac302b0cbeab6da9e3192318aad7379a6428 (patch) | |
tree | 109e94b03dadfd6c6b4574c11b5e9f74f580bc6e /tools | |
parent | 9b8eedd736ea443c4829baaca1ede4e146ebc024 (diff) | |
download | ffmpeg-be4aac302b0cbeab6da9e3192318aad7379a6428.tar.gz |
patcheck: check for pointer arrays that are not const.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/patcheck | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/patcheck b/tools/patcheck index 3342c6a429..cbdbf8d34a 100755 --- a/tools/patcheck +++ b/tools/patcheck @@ -42,6 +42,7 @@ hiegrep2(){ cat $TMP } +hiegrep 'static[^(]*\*[a-zA-Z_]*\[' 'pointer array is not const' $* hiegrep '[[:space:]]$' 'trailing whitespace' $* hiegrep "$(echo x | tr 'x' '\t')" 'tabs' $* #hiegrep ':\+$' 'Empty lines' $* |