Remove unreachable code 00/280300/3
authorBartlomiej Grzelewski <b.grzelewski@samsung.com>
Thu, 29 Oct 2020 15:26:35 +0000 (16:26 +0100)
committerMaria Bialota <m.bialota@samsung.com>
Fri, 26 Aug 2022 18:03:07 +0000 (20:03 +0200)
Change-Id: I0e8edd0815a62d44afe0d39b1b8090cca306beeb

src/reading_composer.c

index 44503a5c35227d4e123e1ffe0172a40776476d8b..229ded7bc9973229d17426bd58287511bf7a0275 100644 (file)
@@ -632,8 +632,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())
@@ -648,8 +646,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)) {