telepathy-glib: tp_tls_certificate_new: don't debug on error
Guillaume Desmottes
gdesmott at kemper.freedesktop.org
Wed May 9 03:15:56 PDT 2012
Module: telepathy-glib
Branch: master
Commit: de4686f4f669299f66dca21fe3b1449a0dabc238
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=de4686f4f669299f66dca21fe3b1449a0dabc238
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Tue Dec 14 15:41:55 2010 +0000
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.
---
telepathy-glib/tls-certificate.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/telepathy-glib/tls-certificate.c b/telepathy-glib/tls-certificate.c
index 06a1e77..9bd5604 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;
}
More information about the telepathy-commits
mailing list