Assign return values to individual variables 92/295892/1 accepted/tizen/unified/20230718.162200
authorSuyeon Hwang <stom.hwang@samsung.com>
Mon, 17 Jul 2023 02:16:12 +0000 (11:16 +0900)
committerSuyeon Hwang <stom.hwang@samsung.com>
Mon, 17 Jul 2023 02:16:12 +0000 (11:16 +0900)
commit36dcbb8ec4d32d12d21d1e44f966d5a9b6b85a8c
tree72ca1d5e8eef45f70b35afbedf437ec07d11433c
parentdf19ab14df8021ce0e178b6f0c2a9e7f108b80a7
Assign return values to individual variables

- Issue:
One variable is used as return value for many functions and they have
different purpose.

- Solution:
vconf_str is used for return values of many vconf_get_str(). It is very
common usesage, but it also cause misuse because developer can not
directly know the meaning of value from the name of variable. So this
patch makes variables for return value of each vconf_get_str() calling
and names them more meaningful name.

Change-Id: I69eb1314795e569d0dc10444aa299380e6412237
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
plugins/wakeup-manager/src/wakeup_settings.cpp