check-style should warn about g_list_nth in loops

This commit is contained in:
Christian Dywan 2010-10-20 23:52:20 +02:00
parent b25f27cd66
commit 63210d28a1

View file

@ -47,6 +47,7 @@ violations = [
['asctime|ctime|getgrgid|getprgnam|getlogin \
|getpwnam|getpwuid|gmtime|localtime \
|rand|readdir|strtok|ttyname', 'Not thread-safe posix, use _r variant'],
['while.*g_list_nth', 'Use g_list_next() instead of g_list_nth'],
]
# No validation for strings, comments, includes
omissions = [