check-style should warn about g_list_nth in loops
This commit is contained in:
parent
b25f27cd66
commit
63210d28a1
1 changed files with 1 additions and 0 deletions
|
@ -47,6 +47,7 @@ violations = [
|
||||||
['asctime|ctime|getgrgid|getprgnam|getlogin \
|
['asctime|ctime|getgrgid|getprgnam|getlogin \
|
||||||
|getpwnam|getpwuid|gmtime|localtime \
|
|getpwnam|getpwuid|gmtime|localtime \
|
||||||
|rand|readdir|strtok|ttyname', 'Not thread-safe posix, use _r variant'],
|
|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
|
# No validation for strings, comments, includes
|
||||||
omissions = [
|
omissions = [
|
||||||
|
|
Loading…
Reference in a new issue