aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-17 20:11:46 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-17 20:11:46 +0800
commit9b497ff832bbffab66eb193ebae190161db55757 (patch)
tree15413b698483af13634d75628be8168002e54384
parent8b24044e2bdeec4e282339c78d4eff9050cf964c (diff)
downloadgsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar.gz
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar.bz2
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar.lz
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar.xz
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.tar.zst
gsoc2013-empathy-9b497ff832bbffab66eb193ebae190161db55757.zip
Remove double check for connection == NULL
-rw-r--r--libempathy-gtk/empathy-contact-dialogs.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libempathy-gtk/empathy-contact-dialogs.c b/libempathy-gtk/empathy-contact-dialogs.c
index ad466da50..5c77a787e 100644
--- a/libempathy-gtk/empathy-contact-dialogs.c
+++ b/libempathy-gtk/empathy-contact-dialogs.c
@@ -337,10 +337,6 @@ can_add_contact_to_account (EmpathyAccount *account,
if (connection == NULL)
return FALSE;
- if (connection == NULL) {
- return FALSE;
- }
-
contact_manager = empathy_contact_manager_dup_singleton ();
result = empathy_contact_manager_get_flags_for_connection (
contact_manager, connection) & EMPATHY_CONTACT_LIST_CAN_ADD;