examples/timer: initialize index of options
authorJihun Ahn <jhun.ahn@samsung.com>
Fri, 12 May 2017 06:53:34 +0000 (15:53 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 23 May 2017 12:40:01 +0000 (21:40 +0900)
commit6896d052f9bbf276d5ae7a7db03405ba5409773c
tree2690bbf20222172337aac2f85762e9c621bc29e4
parent3f6d5de826a2f1cd7b8d5088cf201ca5fada8c36
examples/timer: initialize index of options

Currently, index isn't initialized, it caused abnormal behavior after
someone calls getopt().
So, this commit add initialize the optind.

Change-Id: I71afe5a90827cf5719ef28c56d5202af2e587d7f
Signed-off-by: Jihun Ahn <jhun.ahn@samsung.com>
apps/examples/timer/timer_main.c