From: Carsten Haitzler (Rasterman) Date: Fri, 28 Jul 2017 15:47:08 +0000 (+0900) Subject: eldbus parser - remove duplicate tag handler thats already handled X-Git-Tag: upstream/1.20.0~79 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aab56c412310dd90438b2dbc3be2bf79cc5f5ae4;p=platform%2Fupstream%2Fefl.git eldbus parser - remove duplicate tag handler thats already handled confusing and dead code as it's already handled. not an actual bug but analysis impacting found by PVS studio --- diff --git a/src/bin/eldbus/parser.c b/src/bin/eldbus/parser.c index a74ff07..395bf57 100644 --- a/src/bin/eldbus/parser.c +++ b/src/bin/eldbus/parser.c @@ -429,8 +429,6 @@ open_tag(const char *content, unsigned length, Eina_Bool is_open_empty, DBus_Obj return open_method(content, length, is_open_empty); else if (!strncmp(content, PROPERTY_TAG, PROPERTY_TAG_LENGTH) && iface) return open_property(content, length); - else if (!strncmp(content, ANNOTATION_TAG, ANNOTATION_TAG_LENGTH) && iface) - return EINA_TRUE; printf("Warning: Tag not handled:\n"); for (i = 0; i < length; i++)