ffmpeg | branch: master | Reimar Döffinger <reimar.doeffin...@gmx.de> | Fri Aug 
29 00:32:07 2014 +0200| [be4aac302b0cbeab6da9e3192318aad7379a6428] | committer: 
Reimar Döffinger

patcheck: check for pointer arrays that are not const.

Signed-off-by: Reimar Döffinger <reimar.doeffin...@gmx.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=be4aac302b0cbeab6da9e3192318aad7379a6428
---

 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' $*

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to