Compare commits
1 Commits
872b2bfeac
...
d081993c90
| Author | SHA1 | Date | |
|---|---|---|---|
|
d081993c90
|
@@ -75,7 +75,7 @@ KNOWN_RE=$(IFS="|"; echo "${REQUIRED_ATTRIBUTED[*]}")
|
||||
# Find variadic declarations with a const char* / gchar* parameter followed by ...)
|
||||
# that do NOT have a format attribute on the preceding line
|
||||
NEW_ISSUES=$(grep -B1 -rn --include="*.h" \
|
||||
-E '(const g?char)\s*\*.*,\s*\.\.\.\)' "$DIR" 2>/dev/null \
|
||||
'const g\?char\s*\*.*,\s*\.\.\.)' "$DIR" 2>/dev/null \
|
||||
| awk '
|
||||
/format\(printf|G_GNUC_PRINTF/ { skip=1; next }
|
||||
/const g?char.*,.*\.\.\.\)/ {
|
||||
|
||||
Reference in New Issue
Block a user