[evolution-data-server] EContact: Fix dead nested assignments.



commit 89bb330aaa425e9db5517a116c678e5d60caf4cd
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sun Jan 30 17:37:44 2011 -0500

    EContact: Fix dead nested assignments.

 addressbook/libebook/e-contact.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/addressbook/libebook/e-contact.c b/addressbook/libebook/e-contact.c
index 27901f7..985f6c8 100644
--- a/addressbook/libebook/e-contact.c
+++ b/addressbook/libebook/e-contact.c
@@ -861,8 +861,7 @@ e_contact_set_property (GObject *object,
 								   with *only* the TYPE='s we need.  This may seem like
 								   an odd restriction but it's the only way at present to
 								   implement the Other Fax and Other Phone attributes. */
-								found_needed1 =
-									found_needed2 = FALSE;
+								found_needed1 = FALSE;
 								break;
 							}
 						}
@@ -1132,8 +1131,7 @@ e_contact_find_attribute_with_types (EContact *contact, const gchar *attr_name,
 						   with *only* the TYPE='s we need.  This may seem like
 						   an odd restriction but it's the only way at present to
 						   implement the Other Fax and Other Phone attributes. */
-						found_needed1 =
-							found_needed2 = FALSE;
+						found_needed1 = FALSE;
 						break;
 					}
 				}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]