touchscreen: clean-up uninitialized variable warning by static analysis
authorYunhee Seo <yuni.seo@samsung.com>
Thu, 19 Jan 2023 06:24:23 +0000 (15:24 +0900)
committerChanwoo Choi <cw00.choi@samsung.com>
Wed, 25 Jan 2023 11:44:18 +0000 (20:44 +0900)
commiteabc356187abaa975da2ca6c66179c71423c4a79
treec2172a829ec670695b89160c500cd5b43a93ad39
parent5ea085bf8d22694323fca7a82f54fe459d0d1b3a
touchscreen: clean-up uninitialized variable warning by static analysis

Add return code to avoid reaching uninitialized enum variable "state".

Change-Id: Idce5e24bc2c979c350629b8e413494dd62003cf5
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
src/touchscreen/touchscreen.c