Fix issue detected by static analysis tool 01/190301/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 1 Oct 2018 01:41:18 +0000 (10:41 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 1 Oct 2018 01:41:20 +0000 (10:41 +0900)
commit5d61943625ab5b1a78c0246ddee8795ab2665bef
tree209e630865a5c62591dafcfff6bf7d5a74d8b3c9
parenta7df3abb6297b9c14632894b4465c590acfb5c93
Fix issue detected by static analysis tool

WID:56920434 Variable 'type' was passed to function at option.cpp:1007 that can't use negative values is checked for negative value at option.cpp:1012.

Change-Id: Ife4ef5be4398fbb8569b00939e30142ffe039d77
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
src/option.cpp