From aab56c412310dd90438b2dbc3be2bf79cc5f5ae4 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Sat, 29 Jul 2017 00:47:08 +0900 Subject: [PATCH] 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 --- src/bin/eldbus/parser.c | 2 -- 1 file changed, 2 deletions(-) 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++) -- 2.7.4