From: jomui Date: Wed, 8 Feb 2017 02:14:14 +0000 (+0900) Subject: fix SVACE issue X-Git-Tag: submit/tizen/20170208.034108^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d2020f2355215c15da9ed03a2d366403d2ac664b;p=platform%2Fcore%2Fapi%2Flocation-manager.git fix SVACE issue Signed-off-by: jomui Change-Id: I5aa1b82ea6f94a27e5db15cc6ab74f5310fd223d --- diff --git a/test/location_test.c b/test/location_test.c index 75d69c7..8bc6ad7 100755 --- a/test/location_test.c +++ b/test/location_test.c @@ -520,6 +520,9 @@ static int location_test() fprintf(stderr, "\n Input position interval ==> "); ret = scanf("%d", &interval); + if (interval > 1000 && interval < -1000) + interval = 1; + int method = menu - 11; ret = location_manager_create(method, &manager); fprintf(stderr, "location_manager_create (method: %d): %d\n", method, ret);