Extract unit functions for reducing duplicated code 86/277286/2
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 4 Jul 2022 11:01:45 +0000 (20:01 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Tue, 5 Jul 2022 03:50:59 +0000 (12:50 +0900)
commite9018a76d69eb0c2e491ae310de4a0d9e13826a5
tree81433d8719cf695f8e1cfd986540d2fd19d23214
parent38fbe2a994656d91e123e86989761a609d65c7b5
Extract unit functions for reducing duplicated code

- Issue:
To get some dynamic values, there are too many duplicated code used.

- Solution:
This patch extracts duplicated codes and creates new functions using the
codes. Using these new functions, we can remove duplicated codes from
the file.

Change-Id: I926f105e5ed124b10ddc55eecc7844aa83c08033
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
engine-parser/src/tts-engine-parser.c