diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-17 20:11:46 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-17 20:11:46 +0800 |
commit | 9b497ff832bbffab66eb193ebae190161db55757 (patch) | |
tree | 15413b698483af13634d75628be8168002e54384 /libempathy-gtk | |
parent | 8b24044e2bdeec4e282339c78d4eff9050cf964c (diff) | |
download | gsoc2013-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
Diffstat (limited to 'libempathy-gtk')
-rw-r--r-- | libempathy-gtk/empathy-contact-dialogs.c | 4 |
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; |