diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-10-04 12:07:54 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-10-04 12:07:54 +0100 |
commit | 5090ecd40d21c221ee8fa26d392c2e4ddecdd773 (patch) | |
tree | 220a2f6e565f64df9a832d85f996bcac1e8d8f64 | |
parent | 210878ba073be6bfffd3c9a6265164fbaf118f94 (diff) | |
download | libgdata-5090ecd40d21c221ee8fa26d392c2e4ddecdd773.tar.gz |
contacts: Remove redundant copypasta
This is left over from manually expanding one of the parser functions
inline here.
Coverity CID: 131018
-rw-r--r-- | gdata/services/contacts/gdata-contacts-contact.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdata/services/contacts/gdata-contacts-contact.c b/gdata/services/contacts/gdata-contacts-contact.c index ae0a0006..8031d886 100644 --- a/gdata/services/contacts/gdata-contacts-contact.c +++ b/gdata/services/contacts/gdata-contacts-contact.c @@ -842,7 +842,7 @@ parse_xml (GDataParsable *parsable, xmlDoc *doc, xmlNode *node, gpointer user_da /* Parse the e-mail address. */ _parsable = _gdata_parsable_new_from_xml_node (GDATA_TYPE_GD_EMAIL_ADDRESS, node->doc, node, NULL, error); - if (P_REQUIRED & P_REQUIRED && _parsable == NULL) { + if (_parsable == NULL) { /* The error has already been set by _gdata_parsable_new_from_xml_node() */ success = FALSE; return TRUE; |