[FFmpeg-devel] [PATCH 1/2] patcheck: check for pointer arrays that are not const.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Fri Aug 29 00:45:33 CEST 2014
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
---
tools/patcheck | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/patcheck b/tools/patcheck
index 3342c6a..cbdbf8d 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' $*
--
2.1.0
More information about the ffmpeg-devel
mailing list