[FFmpeg-cvslog] r17529 - trunk/tools/patcheck

michael subversion
Sun Feb 22 15:29:48 CET 2009


Author: michael
Date: Sun Feb 22 15:29:48 2009
New Revision: 17529

Log:
Search for things like "int *src" without const.

Modified:
   trunk/tools/patcheck

Modified: trunk/tools/patcheck
==============================================================================
--- trunk/tools/patcheck	Sun Feb 22 15:27:50 2009	(r17528)
+++ trunk/tools/patcheck	Sun Feb 22 15:29:48 2009	(r17529)
@@ -66,6 +66,8 @@ hiegrep '#(el|)if *(0|1)' 'useless #if' 
 hiegrep 'if *\( *(0|1) *\)' 'useless if()' $*
 hiegrep '& *[a-zA-Z0-9_]* *\[ *0 *\]' 'useless & [0]' $*
 hiegrep '(\( *[0-9] *(&&|\|\|)|(&&|\|\|) *[0-9] *\))' 'overriding condition' $*
+hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *\*( |\*)*(src|source|input|in[^a-z])' 'missing const?' $*
+hiegrep '(:\+|,|;)( *|static|\*)*'"$ERE_PRITYP"' *(src|source|input|in)([0-9A-Z_][0-9A-Za-z_]*){1,} *\[' 'missing const (test2)?' $*
 
 hiegrep2 '\.long_name *=' 'NULL_IF_CONFIG_SMAL' 'missing NULL_IF_CONFIG_SMAL' $*
 




More information about the ffmpeg-cvslog mailing list