From 29506b9bdf9be5ff8939691708570dbe9a7d73c1 Mon Sep 17 00:00:00 2001 From: Jihun Ha Date: Sun, 6 Mar 2016 12:22:31 +0900 Subject: [PATCH] Remove duplicated statements in sceneclient application Change-Id: Ia67bdc441a162be1578f334b3e4932f79b09ef93 Signed-off-by: Jihun Ha Reviewed-on: https://gerrit.iotivity.org/gerrit/5453 Tested-by: jenkins-iotivity Reviewed-by: Uze Choi --- service/scene-manager/sampleapp/linux/sceneclient.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/service/scene-manager/sampleapp/linux/sceneclient.cpp b/service/scene-manager/sampleapp/linux/sceneclient.cpp index 6fe2683..48837f1 100755 --- a/service/scene-manager/sampleapp/linux/sceneclient.cpp +++ b/service/scene-manager/sampleapp/linux/sceneclient.cpp @@ -531,7 +531,7 @@ void onResourceDiscovered(std::shared_ptr foundResource void discoverResource() { - std::cout << "Wait 2 seconds until discovered." << std::endl; + std::cout << "Wait 4 seconds until discovered." << std::endl; try { @@ -556,15 +556,7 @@ int main() try { discoverResource(); - } - catch(std::exception &e) - { - std::cout << e.what() << std::endl; - return 0; - } - try - { g_currentRun = runCreateRemoteSceneList; g_currentRun(); } -- 2.7.4