]> git.0d.be Git - empathy.git/blobdiff - tools/check-c-style.sh
sync tools/* with tp-glib master
[empathy.git] / tools / check-c-style.sh
index 4330b1479f6154ef4752787ea86e7f3a5129f16f..55834207aa816768ef16de3325facf88f7c57b89 100644 (file)
@@ -3,13 +3,6 @@ fail=0
 
 ( . "${tools_dir}"/check-misc.sh ) || fail=$?
 
-if grep -n '^ *GError *\*[[:alpha:]_][[:alnum:]_]* *;' "$@"
-then
-  echo "^^^ The above files contain uninitialized GError*s - they should be"
-  echo "    initialized to NULL"
-  fail=1
-fi
-
 # The first regex finds function calls like foo() (as opposed to foo ()).
 #   It attempts to ignore string constants (may cause false negatives).
 # The second and third ignore block comments (gtkdoc uses foo() as markup).