libaurum: fix a potentional error from missing-return
authorWonki Kim <wonki_.kim@samsung.com>
Wed, 18 Mar 2020 04:47:05 +0000 (13:47 +0900)
committerWonki Kim <wonki_.kim@samsung.com>
Wed, 18 Mar 2020 04:47:05 +0000 (13:47 +0900)
missing return value can cause a problem related with stack frame.
this patch fixes it in advance.

Change-Id: If3ee0269a9f94d6df800af84e67a83bdc60d5b33

libaurum/src/DeviceImpl/TM1Impl.cc

index 9338726..de94cd5 100644 (file)
@@ -27,7 +27,7 @@ TM1Impl::~TM1Impl()
 
 bool TM1Impl::click(const int x, const int y)
 {
-    click(x, y, INTV_CLICK);
+    return click(x, y, INTV_CLICK);
 }
 
 bool TM1Impl::click(const int x, const int y, const unsigned int intv)