Updating branch refs/heads/master
to 63210d28a18c583b60150bace2469605596dff95 (commit)
from b25f27cd66b3c7f3ac7b21355d4b24247555992b (commit)
commit 63210d28a18c583b60150bace2469605596dff95
Author: Christian Dywan <[email protected]>
Date: Wed Oct 20 23:52:20 2010 +0200
check-style should warn about g_list_nth in loops
tools/check-style | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/tools/check-style b/tools/check-style
index fc752fc..b6076d8 100755
--- a/tools/check-style
+++ b/tools/check-style
@@ -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 = [
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits