summaryrefslogtreecommitdiff
path: root/telepathy-glib/tls-certificate.c
diff options
context:
space:
mode:
authorSimon McVittie <simon.mcvittie@collabora.co.uk>2010-12-14 15:41:55 +0000
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2012-05-09 12:14:08 +0200
commitde4686f4f669299f66dca21fe3b1449a0dabc238 (patch)
treef5ee467a7e5119eff5157bcd133fb049d593034c /telepathy-glib/tls-certificate.c
parent694563fee1ff738e2c2fed14555c1bd2f15a9c34 (diff)
downloadtelepathy-glib-de4686f4f669299f66dca21fe3b1449a0dabc238.tar.gz
tp_tls_certificate_new: don't debug on error
It would have crashed when error == NULL, and in any case the caller can reasonably be expected to do something about any errors.
Diffstat (limited to 'telepathy-glib/tls-certificate.c')
-rw-r--r--telepathy-glib/tls-certificate.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/telepathy-glib/tls-certificate.c b/telepathy-glib/tls-certificate.c
index 06a1e779d..9bd56046d 100644
--- a/telepathy-glib/tls-certificate.c
+++ b/telepathy-glib/tls-certificate.c
@@ -325,10 +325,6 @@ tp_tls_certificate_new (TpDBusDaemon *dbus,
NULL);
finally:
- if (*error != NULL)
- DEBUG ("Error while creating the TLS certificate: %s",
- (*error)->message);
-
return retval;
}