Scripts: a bit noisy, we just want the gory details now

This commit is contained in:
Franco Fichtner 2025-04-24 09:38:09 +02:00
parent b2a6288437
commit f5e0735d94

View File

@ -63,7 +63,8 @@ grep -Eor '^function &?[^( ]+' ${TESTDIR} | tr ':' ' ' | tr -d '&' | while read
echo "${FUNC}() appears unused" ${NOTE}
elif [ ${USED} -eq 2 ]; then
# XXX if a match happens in the same file it's probably already considered ;)
echo "${FUNC}() only used once, consider refactor"
#echo "${FUNC}() only used once, consider refactor"
:
else
USED=$((USED - 1))
#echo "${FUNC}() used ${USED} times"