aboutsummaryrefslogtreecommitdiffstats
path: root/tools/check-c-style.sh
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-17 16:26:43 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-09-17 16:44:06 +0800
commit8750c21d6838bd83065f735470fb96de867ed31f (patch)
tree3ff8457567480e3fc6dbca285c3559b19acec2c4 /tools/check-c-style.sh
parentf9a38137925ff6f712afe21961614a1efb3b35ea (diff)
downloadgsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar.gz
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar.bz2
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar.lz
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar.xz
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.tar.zst
gsoc2013-empathy-8750c21d6838bd83065f735470fb96de867ed31f.zip
sync tools/* with tp-glib master
Fix extensions/Makefile.am to build with the new tools.
Diffstat (limited to 'tools/check-c-style.sh')
-rw-r--r--tools/check-c-style.sh7
1 files changed, 0 insertions, 7 deletions
diff --git a/tools/check-c-style.sh b/tools/check-c-style.sh
index 4330b1479..55834207a 100644
--- a/tools/check-c-style.sh
+++ b/tools/check-c-style.sh
@@ -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).