Remove unreachable code 59/246459/2 submit/tizen/20201108.215920
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 29 Oct 2020 15:26:35 +0000 (16:26 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Mon, 2 Nov 2020 19:02:49 +0000 (19:02 +0000)
Change-Id: I0e8edd0815a62d44afe0d39b1b8090cca306beeb

src/reading_composer.c

index c731b897300559b824f36b4ab59d7e63fbda8731..5394dffa3bcec7a0fa083a1723c5126cc66c98a2 100644 (file)
@@ -638,8 +638,6 @@ char* reading_composer_extended_description_get(ReadingComposerData *data)
                description = rm->description;
                /* If description is set by application side, do not read other default information */
                if (vc_get_read_description() && description && strlen(description) > 0) {
-                       if (eina_strbuf_length_get(buf2))
-                               ESAL(buf2, " , ");
                        ESAL(buf2, description);
                } else if (STATE_SET_CONTAINS(rm->states, ATSPI_STATE_ENABLED)) {
                        if (vc_get_read_description())
@@ -654,8 +652,6 @@ char* reading_composer_extended_description_get(ReadingComposerData *data)
                        }
 
                        if (description_from_role && strlen(description_from_role) > 0) {
-                               if (eina_strbuf_length_get(buf2))
-                                       ESAL(buf2, " , ");
                                ESAL(buf2, description_from_role);
                        }
                        if (description_from_relation && strlen(description_from_relation)) {